]>
Commit | Line | Data |
---|---|---|
398de405 | 1 | <form 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 %} | |
5 | ||
6 | {% if form_errors(form.term) %} | |
7 | <span class="black-text">{{ form_errors(form.term) }}</span> | |
8 | {% endif %} | |
9 | ||
49b042df NL |
10 | <input type="hidden" name="currentRoute" value="{{ currentRoute }}" /> |
11 | ||
ee122a75 NL |
12 | {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }} |
13 | ||
14 | {{ form_rest(form) }} | |
15 | </form> |