]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig
ba8a8454dc00b3e7215d52e0719b0f6f01e02ec6
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / search_form.html.twig
1 <form name="search" method="GET" action="{{ path('search')}}">
2 {% if form_errors(form) %}
3 <span class="black-text">{{ form_errors(form) }}</span>
4 {% endif %}
5 <button type="submit" class="nav-form-button"><i class="material-icons search">search</i></button>
6
7 {% if form_errors(form.term) %}
8 <span class="black-text">{{ form_errors(form.term) }}</span>
9 {% endif %}
10
11 <input type="hidden" name="currentRoute" value="{{ currentRoute }}" />
12
13 {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }}
14
15 {{ form_rest(form) }}
16 </form>