template for searchbox
This commit is contained in:
parent
f32ecd4012
commit
b3054ee9d0
2 changed files with 20 additions and 10 deletions
11
view/templates/searchbox.tpl
Normal file
11
view/templates/searchbox.tpl
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div id="{{$id}}" class="input-group">
|
||||
<form action="{{$action_url}}" method="get" >
|
||||
{{strip}}
|
||||
<input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" />
|
||||
<input type="submit" name="submit" id="search-submit" value="{{$search_label}}" />
|
||||
{{if $savedsearch}}
|
||||
<input type="submit" name="searchsave" id="search-save" value="{{$save_label}}" />
|
||||
{{/if}}
|
||||
{{/strip}}
|
||||
</form>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue