remove content from unused sidebar
This commit is contained in:
@@ -11,16 +11,14 @@
|
||||
[% FOREACH tab IN vars.tabs %]
|
||||
<div id="[% tab.id %]_search" class="tab-pane [% 'active' IF params.tab == tab.id %]">
|
||||
<form id="[% tab.id %]_form" class="nd_sidesearchform form-stacked" method="get" action="[% uri_for('/search') %]">
|
||||
[%+ TRY %][% INCLUDE "sidebar/search/${tab.id}.tt" %][% CATCH %]<!-- no "[% tab.id %]" search options -->[% END %]
|
||||
<input name="q" value="[% params.q %]" type="hidden"/>
|
||||
<input name="tab" value="[% tab.id %]" type="hidden"/>
|
||||
<div class="nd_search clearfix">
|
||||
<button id="[% tab.id %]_submit" type="submit" class="btn info">Search Again</button>
|
||||
<a id="[% tab.id %]_bookmark" href="#"
|
||||
rel="twipsy" data-placement="left" data-offset="5" title="Bookmark this Search">
|
||||
<img class="nd_bookmark" src="[% uri_base %]/images/glyphicons_072_bookmark.png">
|
||||
</a>
|
||||
</div>
|
||||
[% TRY %]
|
||||
[% INCLUDE "sidebar/search/${tab.id}.tt" %]
|
||||
<button id="[% tab.id %]_submit" type="submit" class="btn info span3">Search Again</button>
|
||||
[% CATCH %]
|
||||
<!-- no "[% tab.id %]" search options -->
|
||||
[% END %]
|
||||
</form>
|
||||
</div> <!-- /tab-pane -->
|
||||
[% END %]
|
||||
|
||||
Reference in New Issue
Block a user