mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-12 18:29:34 +00:00
a2daa32d0c
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
16 lines
594 B
Twig
16 lines
594 B
Twig
<form name="search_users" method="GET" action="{{ path('user-search')}}">
|
|
{% if form_errors(form) %}
|
|
<span class="black-text">{{ form_errors(form) }}</span>
|
|
{% endif %}
|
|
|
|
{% if form_errors(form.term) %}
|
|
<span class="black-text">{{ form_errors(form.term) }}</span>
|
|
{% endif %}
|
|
|
|
<i class="material-icons prefix">search</i>
|
|
{{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'user.search.placeholder'} }) }}
|
|
<label for="search_user_term" class="active">{{ 'user.search.label' | trans }}</label>
|
|
|
|
{{ form_rest(form) }}
|
|
</form>
|