20 lines
839 B
PHP
20 lines
839 B
PHP
<x-layout.app>
|
|
<x-card.card class="mx-auto max-w-lg">
|
|
<x-card.heading class="">
|
|
New School
|
|
</x-card.heading>
|
|
|
|
|
|
<x-form.form method="POST" action="{{route('schools.store')}}" class="!mt-4">
|
|
<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" class="mb-5"/>
|
|
</x-form.form>
|
|
</x-card.card>
|
|
</x-layout.app>
|