User search field placeholder.

This commit is contained in:
Alexey Skobkin 2016-12-11 03:34:20 +03:00
parent cfe8339ab1
commit 28f3c14fa5

View file

@ -10,7 +10,12 @@
{{ form_start(form, {'attr': {'class': 'form-inline'} }) }}
<div class="form-group">
{{ form_errors(form.login) }}
{{ form_widget(form.login, {'attr': {'autocomplete': 'off'}}) }}
{{ form_widget(form.login, {
'attr': {
'autocomplete': 'off',
'placeholder': 'login'
}
}) }}
<script type="text/javascript">
$(function() {