bugfix: -frio- save search button should be only visible if the feature is enabled

This commit is contained in:
rabuzarus 2018-01-02 15:48:11 +01:00
parent 92b501aa83
commit ebb60ddd58

View file

@ -47,8 +47,10 @@ Some parts of this template will be moved by js to other places (see theme.js) -
</form> </form>
</div> </div>
{{* This form is inserted as experiment to move the search-save button to the second navbar with js *}} {{* This form is inserted as experiment to move the search-save button to the second navbar with js *}}
{{if $savedsearch}}
<form id="search-save-form" action="{{$action_url}}" method="get" > <form id="search-save-form" action="{{$action_url}}" method="get" >
<input type="hidden" name="search" value="{{$s}}" /> <input type="hidden" name="search" value="{{$s}}" />
<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> <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>
</form> </form>
{{/if}}
</div> </div>