forked from wallabag/wallabag
Add filter to users management page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
committed by
Nicolas Lœuillet
parent
e1d64050ad
commit
c37515f880
@ -0,0 +1,15 @@
|
||||
<form name="search" 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>
|
||||
Reference in New Issue
Block a user