User search field placeholder.
This commit is contained in:
parent
cfe8339ab1
commit
28f3c14fa5
|
@ -10,7 +10,12 @@
|
||||||
{{ form_start(form, {'attr': {'class': 'form-inline'} }) }}
|
{{ form_start(form, {'attr': {'class': 'form-inline'} }) }}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
{{ form_errors(form.login) }}
|
{{ form_errors(form.login) }}
|
||||||
{{ form_widget(form.login, {'attr': {'autocomplete': 'off'}}) }}
|
{{ form_widget(form.login, {
|
||||||
|
'attr': {
|
||||||
|
'autocomplete': 'off',
|
||||||
|
'placeholder': 'login'
|
||||||
|
}
|
||||||
|
}) }}
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
Loading…
Reference in a new issue