Hide search if there are no tags

main
Henry Wright 10 years ago
parent d770c0d34e
commit 875db97bc9

@ -1,8 +1,9 @@
<div class="tags"> <div class="tags">
<!-- IMPORT partials/breadcrumbs.tpl --> <!-- IMPORT partials/breadcrumbs.tpl -->
<!-- IF tags.length -->
<input class="form-control" type="text" id="tag-search" placeholder="[[global:search]]"/> <input class="form-control" type="text" id="tag-search" placeholder="[[global:search]]"/>
<br/> <!-- ENDIF tags.length -->
<!-- IF !tags.length --> <!-- IF !tags.length -->
<div class="alert alert-warning">[[tags:no_tags]]</div> <div class="alert alert-warning">[[tags:no_tags]]</div>

Loading…
Cancel
Save