diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-05 15:24:42 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-11-19 19:17:30 +0100 |
commit | 398de40517356981a9fe1b9185f5f9e5e498c346 (patch) | |
tree | 469fad8e65b041d04f9a303d653b830015e0fb73 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig | |
parent | ee122a7528f55dfb5f02e351c509d00b756fedaa (diff) | |
download | wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.tar.gz wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.tar.zst wallabag-398de40517356981a9fe1b9185f5f9e5e498c346.zip |
Added search engine in baggy theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig new file mode 100644 index 00000000..818513f3 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/search_form.html.twig | |||
@@ -0,0 +1,15 @@ | |||
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 | {{ form_widget(form.term, { 'attr': {'autocomplete': 'off', 'placeholder': 'entry.search.placeholder'} }) }} | ||
13 | |||
14 | {{ form_rest(form) }} | ||
15 | </form> | ||