Commit b40deb4e authored by Michael Rose's avatar Michael Rose

search: remove input groups on title/author/summary

parent 3ea276c4
......@@ -87,24 +87,15 @@
<div class="row">
<div class="form-group col-lg-12">
<label for="search[title]">Title</label>
<div class="input-group">
<span class="input-group-addon"><i class="icon-book"></i></span>
<input id="search[title]" name="search[title]" type="text" class="form-control" placeholder="Title" autocomplete="on" autofocus="autofocus" value="<%= @search[:title] %>"/>
</div>
<input id="search[title]" name="search[title]" type="text" class="form-control" placeholder="Title" autocomplete="on" autofocus="autofocus" value="<%= @search[:title] %>"/>
</div>
<div class="form-group col-lg-12">
<label for="search[title]">Author</label>
<div class="input-group">
<span class="input-group-addon"><i class="icon-book"></i></span>
<input id="search[author]" name="search[author]" type="text" class="form-control" placeholder="Author" autocomplete="on" value="<%= @search[:author] %>"/>
</div>
<input id="search[author]" name="search[author]" type="text" class="form-control" placeholder="Author" autocomplete="on" value="<%= @search[:author] %>"/>
</div>
<div class="form-group col-lg-12">
<label for="search[summary]">Summary</label>
<div class="input-group">
<span class="input-group-addon"><i class="icon-book"></i></span>
<input id="search[summary]" name="search[summary]" type="text" class="form-control" placeholder="Summary keywords" autocomplete="on" value="<%= @search[:summary] %>"/>
</div>
<input id="search[summary]" name="search[summary]" type="text" class="form-control" placeholder="Summary keywords" autocomplete="on" value="<%= @search[:summary] %>"/>
<span class="help-block">
<a rel="nofollow" href="http://lucene.apache.org/core/2_9_4/queryparsersyntax.html">Lucene Query Syntax</a>
e.g. <code>-slash +Harry timetravel</code> must not have slash, must contain Harry, may contain timetravel.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment