Add label for the search term box

This is in particular needed when there is already something there --
the placeholder is only shown on an empty form.
This commit is contained in:
Magnus Hagander
2018-04-18 18:37:04 +02:00
parent 91963852f3
commit 3c70d67885

View File

@ -6,8 +6,9 @@
<input type="hidden" name="m" value="1">
<div class="row">
<div class="col-lg-6">
<label for="search-term">Search term:</label>
<div class="input-group">
<input type="text" name="q" value="{{query}}" class="form-control" placeholder="Search for...">
<input type="text" id="search-term" name="q" value="{{query}}" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="submit">
<i class="fas fa-search"></i>