@include('shared.alerts')
{{ __('Edit school') }}
@method('PUT') @csrf @include('shared.input', ['label' => __('Name'), 'name' => 'name', 'value' => old('name', $school->name)]) @include('shared.input', ['label' => __('CVR'), 'name' => 'cvr', 'value' => old('cvr', $school->cvr)]) @include('shared.input', ['label' => __('Address'), 'name' => 'address', 'value' => old('address', $school->address)]) @include('shared.input', ['label' => __('Zipcode'), 'name' => 'zipcode', 'value' => old('zipcode', $school->zipcode)]) @include('shared.input', ['label' => __('City'), 'name' => 'city', 'value' => old('city', $school->city)]) @include('shared.input', ['label' => __('Contact e-mail'), 'name' => 'email', 'value' => old('email', $school->email), 'type' => 'email']) @include('shared.input', ['label' => __('Phone'), 'name' => 'phone', 'value' => old('phone', $school->phone)]) @include('shared.input', ['label' => __('Rate'), 'name' => 'rate', 'value' => old('rate', $school->rate), 'type' => 'number']) @include('shared.input', ['label' => __('Commission'), 'name' => 'commission', 'value' => old('commission', $school->commission), 'type' => 'number'])
@can('delete', $school)
{{ __('Delete school') }}
@method('DELETE') @csrf
@endcan