]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/search_form.html.twig
Nav close button alignment and nav boxes improved
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / search_form.html.twig
CommitLineData
2831e77c 1<form class="input-field nav-panel-item nav-panel-search" style="display: none" name="search" method="GET" action="{{ path('search')}}">
ee122a75
NL
2 {% if form_errors(form) %}
3 <span class="black-text">{{ form_errors(form) }}</span>
4 {% endif %}
f86c2b5f 5 <button type="submit" class="nav-form-button"><i class="material-icons search">search</i></button>
ee122a75
NL
6
7 {% if form_errors(form.term) %}
8 <span class="black-text">{{ form_errors(form.term) }}</span>
9 {% endif %}
10
49b042df
NL
11 <input type="hidden" name="currentRoute" value="{{ currentRoute }}" />
12
ee122a75 13 {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }}
2831e77c 14 <i class="material-icons close">clear</i>
ee122a75
NL
15
16 {{ form_rest(form) }}
17</form>