{{-- ICTHospital - add and edit form for every staff type. Copyright (c) DEVtrust Part of ICTHospital Licensed under the GNU General Public License v3.0. --}} @extends('layouts.master') @section('style') @stop @section('content') @php($editing = (bool) $person->id)

{{ $editing ? 'Edit ' . $person->name : 'Add ' . $meta['singular'] }}

@if (count($errors) > 0)
Check the form.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ csrf_field() }} @if ($editing) @endif
@if ($person->img_url) A photo is already on file. Uploading replaces it. @endif
@include('app.partials._login_fields', ['person' => $person, 'roleLabel' => $meta['group']]) Cancel
@stop @section('script') @stop