Don't show search in expando header on interior pages

This commit is contained in:
John Firebaugh 2013-11-13 12:55:02 -08:00
parent a661ee1693
commit 2bf9144702
2 changed files with 5 additions and 1 deletions

View file

@ -7,7 +7,7 @@
</h1>
<a href="#" id="menu-icon"></a>
<nav class='primary'>
<%= render :partial => "layouts/search" %>
<%= content_for :header %>
<ul>
<li id="edit_tab" class="dropdown <%= current_page_class(edit_path) %>">
<%= link_to t('layouts.edit'), edit_path, :class => "tab geolink editlink",

View file

@ -16,6 +16,10 @@
<% end %>
<% end %>
<% content_for :header do %>
<%= render :partial => "layouts/search" %>
<% end %>
<% content_for :content do %>
<div id="sidebar">
<%= render :partial => "layouts/search" %>