Adding placeholder in search-field

This commit is contained in:
Thomas Pointhuber 2014-03-06 16:37:25 +01:00
parent 3b31c60f07
commit 2fe2af7158

View file

@ -1,6 +1,6 @@
<form method="post" action="{{ url_for('index') }}" id="search_form"> <form method="post" action="{{ url_for('index') }}" id="search_form">
<div id="search_wrapper"> <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" /> <input type="submit" value="search" id="search_submit" />
</div> </div>
{% include 'categories.html' %} {% include 'categories.html' %}