summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/views/layout.erb8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/views/layout.erb b/web/views/layout.erb
index 72f2503..4c8da82 100644
--- a/web/views/layout.erb
+++ b/web/views/layout.erb
@@ -38,9 +38,6 @@
<% end %>
</select>
</form>
-<% unless @nosearch %>
- <form id="search_form" action="/search"><input type="text" id="search" name="q" value="<%= h(params[:q]) %>"/></form>
-<% end %>
</div>
</div>
<% unless @nosearch %>
@@ -52,6 +49,11 @@
<li><a href="/projects"><%= h(t.taginfo.projects) %></a></li>
<li><a href="/reports"><%= h(t.taginfo.reports) %></a></li>
<li><a href="/about"><%= h(t.taginfo.about) %></a></li>
+<% unless @nosearch %>
+ <li>
+ <form id="search_form" action="/search"><input type="text" id="search" name="q" value="<%= h(params[:q]) %>"/></form>
+ </li>
+<% end %>
</ul>
</div>
<% end %>