Auto-focus in the search field on the main page.

This commit is contained in:
Alexey Skobkin 2017-01-10 02:47:33 +03:00
parent 7dc621a452
commit 290e3cb609

View file

@ -14,7 +14,8 @@
{{ form_widget(form.login, {
'attr': {
'autocomplete': 'off',
'placeholder': 'login'
'placeholder': 'login',
'autofocus': true
}
}) }}