Set autofocus for scoring guide edit form

We want to put the cursor in the field to add a subscore to ease initial setup.

Fixes #49
This commit is contained in:
Matt Young 2024-07-27 16:42:32 -05:00
parent 12fae9ef30
commit ada0ae9391
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<tfoot>
<tr><x-table.th class="!pb-0" colspan="3">Add Subscore</x-table.th></tr><tr>
<x-form.form method="POST" action="/admin/scoring/guides/{{ $guide->id }}/subscore">
<x-table.td><x-form.field name="name"></x-form.field></x-table.td>
<x-table.td><x-form.field name="name" autofocus autocomplete="off"></x-form.field></x-table.td>
<x-table.td><x-form.field name="max_score" type="number"></x-form.field></x-table.td>
<x-table.td><x-form.field name="weight" type="number"></x-form.field></x-table.td>