57 lines
2.7 KiB
PHP
57 lines
2.7 KiB
PHP
<x-layout.app>
|
|
|
|
<x-card.card class="mx-auto max-w-lg">
|
|
<x-card.heading>
|
|
New School
|
|
</x-card.heading>
|
|
<x-form.form method="POST" action="/schools" class="-mt-5">
|
|
<x-form.body-grid columns="6" class="max-w-full">
|
|
<x-form.field name="name" label_text="School Name" colspan="6"/>
|
|
<x-form.field name="address" label_text="School Address" colspan="6"/>
|
|
<x-form.field name="city" label_text="City" colspan="3"/>
|
|
<x-form.field name="state" label_text="State" colspan="2"/>
|
|
<x-form.field name="zip" label_text="Zip"/>
|
|
</x-form.body-grid>
|
|
<x-form.footer submit-button-text="Create School"/>
|
|
</x-form.form>
|
|
</x-card.card>
|
|
{{-- <x-slot:page_title>Create School</x-slot:page_title>--}}
|
|
{{-- <div class="space-y-10 divide-y divide-gray-900/10">--}}
|
|
{{-- <x-layout.page-section :first="true">--}}
|
|
{{-- <x-slot:section_name>School Information</x-slot:section_name>--}}
|
|
{{-- <x-form.form method="POST" action="/schools">--}}
|
|
{{-- <x-form.body-grid columns="6" class="max-w-full">--}}
|
|
{{-- <x-form.field name="name" label_text="School Name" colspan="6"/>--}}
|
|
{{-- <x-form.field name="address" label_text="School Address" colspan="6"/>--}}
|
|
{{-- <x-form.field name="city" label_text="City" colspan="3"/>--}}
|
|
{{-- <x-form.field name="state" label_text="State" colspan="2"/>--}}
|
|
{{-- <x-form.field name="zip" label_text="Zip"/>--}}
|
|
{{-- </x-form.body-grid>--}}
|
|
{{-- </x-form.form>--}}
|
|
|
|
{{-- </x-layout.page-section>--}}
|
|
|
|
|
|
{{-- <x-layout.page-section--}}
|
|
{{-- :first="true">--}}
|
|
|
|
{{-- <x-slot:section_name>School Information</x-slot:section_name>--}}
|
|
|
|
|
|
{{-- <x-form.card--}}
|
|
{{-- submit-button-text="Create School"--}}
|
|
{{-- method="POST"--}}
|
|
{{-- action="/schools"--}}
|
|
{{-- cols="9"--}}
|
|
{{-- >--}}
|
|
{{-- <x-form.field name="name" label_text="School Name" div_classes="sm:col-span-6"/>--}}
|
|
{{-- <x-form.field name="address" label_text="School Address" div_classes="sm:col-span-6"/>--}}
|
|
{{-- <x-form.field name="city" label_text="City" div_classes="sm:col-span-3"/>--}}
|
|
{{-- <x-form.field name="state" label_text="State" div_classes="sm:col-span-2"/>--}}
|
|
{{-- <x-form.field name="zip" label_text="Zip" div_classes="sm:col-span-1"/>--}}
|
|
{{-- </x-form.card>--}}
|
|
|
|
{{-- </x-layout.page-section>--}}
|
|
{{-- </div>--}}
|
|
</x-layout.app>
|