]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Don't show search in expando header on interior pages
[rails.git] / app / views / layouts / _header.html.erb
index 334056ee181cfe5cc8d8d9b1c46a554653c45f35..dbb9966b60997c83b57f285c64a2e6e96e592098 100644 (file)
@@ -7,7 +7,7 @@
   </h1>
   <a href="#" id="menu-icon"></a>
   <nav class='primary'>
   </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",
     <ul>
       <li id="edit_tab" class="dropdown <%= current_page_class(edit_path) %>">
         <%= link_to t('layouts.edit'), edit_path, :class => "tab geolink editlink",