Adding placeholder in search-field

This commit is contained in:
Thomas Pointhuber 2014-03-06 16:37:25 +01:00
parent 3b31c60f07
commit 2fe2af7158
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<form method="post" action="{{ url_for('index') }}" id="search_form">
<div id="search_wrapper">
<input type="text" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
<input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
<input type="submit" value="search" id="search_submit" />
</div>
{% include 'categories.html' %}