Auto-focus in the search field on the main page.
This commit is contained in:
parent
7dc621a452
commit
290e3cb609
|
@ -14,7 +14,8 @@
|
||||||
{{ form_widget(form.login, {
|
{{ form_widget(form.login, {
|
||||||
'attr': {
|
'attr': {
|
||||||
'autocomplete': 'off',
|
'autocomplete': 'off',
|
||||||
'placeholder': 'login'
|
'placeholder': 'login',
|
||||||
|
'autofocus': true
|
||||||
}
|
}
|
||||||
}) }}
|
}) }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue