]>
Commit | Line | Data |
---|---|---|
1 | <form name="search" method="GET" action="{{ path('search')}}"> | |
2 | <h2>{{ 'menu.left.search'|trans }}</h2> | |
3 | <a href="javascript: void(null);" id="search-form-close" class="close-button--popup close-button">×</a> | |
4 | {% if form_errors(form) %} | |
5 | <span class="black-text">{{ form_errors(form) }}</span> | |
6 | {% endif %} | |
7 | ||
8 | {% if form_errors(form.term) %} | |
9 | <span class="black-text">{{ form_errors(form.term) }}</span> | |
10 | {% endif %} | |
11 | ||
12 | <input type="hidden" name="currentRoute" value="{{ currentRoute }}" /> | |
13 | ||
14 | {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }} | |
15 | ||
16 | {{ form_rest(form) }} | |
17 | </form> |