Don't use placeholder on the search page
This commit is contained in:
parent
f478f7f490
commit
3310849fa0
2
doc/_templates/layout.html
vendored
2
doc/_templates/layout.html
vendored
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user