Added name input autofocus on shelves, books and chapters

Closes #1956
This commit is contained in:
Dan Brown 2021-05-26 15:25:23 +01:00
parent a3a8fef6b2
commit d326417edc
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
{{ csrf_field() }}
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
@include('form.text', ['name' => 'name'])
@include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">

View File

@ -3,7 +3,7 @@
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
@include('form.text', ['name' => 'name'])
@include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">

View File

@ -2,7 +2,7 @@
<div class="form-group title-input">
<label for="name">{{ trans('common.name') }}</label>
@include('form.text', ['name' => 'name'])
@include('form.text', ['name' => 'name', 'autofocus' => true])
</div>
<div class="form-group description-input">