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="{{$action_url}}" 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="search" 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 <button class="btn btn-primary btn-small pull-right" type="submit" name="save" value="{{$save_label}}">{{$save_label}}</button>
24 {{* The select popup menu to select what kind of results the user would like to search for *}}
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 <option value="fulltext">{{$searchoption.0}}</option>
30 <option value="tags">{{$searchoption.1}}</option>
31 <option value="contacts">{{$searchoption.2}}</option>
32 {{if $searchoption.3}}<option value="forums">{{$searchoption.3}}</option>{{/if}}
41 <div class="col-md-2"></div>
43 <div class="clearfix"></div>
49 {{* This form is inserted as experiment to move the search-save button to the second navbar with js *}}
50 <form id="search-save-form" action="{{$action_url}}" method="get" >
51 <input type="hidden" name="search" value="{{$s}}" />
52 <button class="btn btn-primary btn-sm btn-main pull-right" type="submit" name="save" id="search-save" value="{{$save_label}}"><i class="fa fa-floppy-o fa-2x" aria-hidden="true"></i></button>