2015-05-24 14:01:08 -04:00
|
|
|
<div id="{{$id}}" class="input-group">
|
2019-10-07 14:19:50 -04:00
|
|
|
<form action="search" method="get">
|
|
|
|
{{strip}}
|
|
|
|
<input type="text" name="q" id="search-text" placeholder="{{$search_label}}" value="{{$s}}">
|
|
|
|
{{if $search_options}}
|
2015-08-24 06:12:14 -04:00
|
|
|
<select name="search-option" id="search-options">
|
2019-10-07 14:19:50 -04:00
|
|
|
{{foreach $search_options as $value => $label}}
|
|
|
|
<option value="{{$value}}">{{$label}}</option>
|
|
|
|
{{/foreach}}
|
2015-08-24 05:55:29 -04:00
|
|
|
</select>
|
2019-10-07 14:19:50 -04:00
|
|
|
{{/if}}
|
|
|
|
<input type="submit" name="submit" id="search-submit" value="{{$search_label}}"/>
|
|
|
|
{{if $s}}
|
2019-10-13 08:39:41 -04:00
|
|
|
<a href="search/saved/add?term={{$q}}&return_url={{$return_url}}">{{$save_label}}</a>
|
2019-10-07 14:19:50 -04:00
|
|
|
{{/if}}
|
|
|
|
{{/strip}}
|
|
|
|
</form>
|
2015-05-24 14:01:08 -04:00
|
|
|
</div>
|