2 {{* important notes: The frio theme hides under certain conditions some parts of the templates through css.
3 Some parts of this template will be moved by js to other places (see theme.js) - E.g. the save-search button *}}
5 <div id="{{$id}}" {{* class="input-group" *}}>
6 <div id="search-wrapper">
7 <form action="search" method="get">
9 <div class="col-md-2"></div>
10 <div class="col-md-8 ">
12 <div class="form-group form-group-search">
13 <input type="text" name="q" id="search-text" class="search-input form-control form-search" data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$search_label}}" value="{{$s}}" />
14 <button id="search-submit" class="btn btn-default btn-sm form-button-search" type="submit">{{$search_label}}</button>
17 <div class="col-md-4"></div>
18 <div class="col-md-8">
19 {{* The button to save searches *}}
21 <a href="search/saved/add?term={{$q}}&return_url={{$return_url}}" class="btn btn-primary btn-small pull-right">{{$save_label}}</a>
24 {{* The select popup menu to select what kind of results the user would like to search for *}}
25 {{if $search_options}}
26 <div class="col-md-6 pull-right">
27 <div class="form-group field select">
28 <select name="search-option" id="search-options" class="form-control form-control-sm">
29 {{foreach $search_options as $value => $label}}
30 <option value="{{$value}}">{{$label}}</option>
39 <div class="col-md-2"></div>
41 <div class="clearfix"></div>
49 <a href="search/saved/add?term={{$q}}&return_url={{$return_url}}" class="btn btn-sm btn-main pull-right" id="search-save" title="{{$save_label}}" aria-label="{{$save_label}}" value="{{$save_label}}" data-toggle="tooltip">
51 <i class="fa fa-plus fa-2x" aria-hidden="true"></i>
53 <i class="fa fa-floppy-o fa-2x" aria-hidden="true"></i>
55 <span class="sr-only">{{$save_label}}</span>