auditionadmin/resources/views/schools/edit.blade.php

31 lines
1.2 KiB
PHP

<x-layout.app>
<x-school.school-edit-form :form_action="'/schools/' . $school->id" :school="$school" />
</x-layout.app>
{{--<x-layout.app>
<x-slot:page_title>Edit School - {{ $school->name }}</x-slot:page_title>
<div class="space-y-10 divide-y divide-gray-900/10">
<x-layout.page-section
section_name="School Information"
section_description=""
:first="true">
<x-form.card
submit-button-text="Update School"
method="PATCH"
action="/schools/{{ $school->id }}"
>
<x-form.field name="name" label="School Name" value="{{ $school->name }}" div_classes="sm:col-span-6"/>
<x-form.field name="address" label="School Address" value="{{ $school->address }}" div_classes="sm:col-span-6"/>
<x-form.field name="city" label="City" value="{{ $school->city }}" div_classes="sm:col-span-3"/>
<x-form.field name="state" label="State" value="{{ $school->state }}" div_classes="sm:col-span-2"/>
<x-form.field name="zip" label="Zip" value="{{ $school->zip }}" div_classes="sm:col-span-1"/>
</x-form.card>
</x-layout.page-section>
</div>
</x-layout.app>--}}