Don't use placeholder on the search page

This commit is contained in:
vitaut 2015-05-23 13:41:21 -07:00
parent f478f7f490
commit 3310849fa0

View File

@ -19,7 +19,7 @@
{%- macro searchform(classes, button) %} {%- macro searchform(classes, button) %}
<form class="{{classes}}" role="search" action="{{ pathto('search') }}" method="get"> <form class="{{classes}}" role="search" action="{{ pathto('search') }}" method="get">
<div class="form-group"> <div class="form-group">
<input type="text" name="q" class="form-control" placeholder="Search"> <input type="text" name="q" class="form-control" {{ 'placeholder="Search"' if not button }} >
</div> </div>
<input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" /> <input type="hidden" name="area" value="default" />