Autofocus on student name on student management screen

Closes #101
This commit is contained in:
Matt Young 2024-12-28 22:14:56 -06:00
parent 69b7cf1c0b
commit 79fa53bc64
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<x-slot:section_name>Add Student</x-slot:section_name> <x-slot:section_name>Add Student</x-slot:section_name>
<x-form.form method="POST" action="{{ route('students.store') }}" class="mb-6 mt-3"> <x-form.form method="POST" action="{{ route('students.store') }}" class="mb-6 mt-3">
<x-form.body-grid columns="8" class="max-w-full"> <x-form.body-grid columns="8" class="max-w-full">
<x-form.field name="first_name" label_text="First Name" colspan="3"/> <x-form.field name="first_name" label_text="First Name" colspan="3" autofocus />
<x-form.field name="last_name" label_text="Last Name" colspan="3"/> <x-form.field name="last_name" label_text="Last Name" colspan="3"/>
{{-- <x-form.field name="grade" label_text="Grade" colspan="1" />--}} {{-- <x-form.field name="grade" label_text="Grade" colspan="1" />--}}