MINOR Checking for SearchForm in templates

This commit is contained in:
Ingo Schommer 2012-04-04 21:26:13 +02:00
parent 2158f384bb
commit 7a5e5b843a
1 changed files with 7 additions and 5 deletions

View File

@ -3,11 +3,13 @@
<a href="$BaseHref" class="brand" rel="home">
<h1>Simple.</h1>
</a>
<span class="search-dropdown-icon">L</span>
<div class="search-bar">
$SearchForm
<span class="search-bubble-arrow">}</span>
</div>
<% if SearchForm %>
<span class="search-dropdown-icon">L</span>
<div class="search-bar">
$SearchForm
<span class="search-bubble-arrow">}</span>
</div>
<% end_if %>
<% include Navigation %>
</div>
</header>