aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2015-08-09 14:38:32 +0100
committerChristopher Baines <mail@cbaines.net>2015-08-09 14:38:32 +0100
commit273d37d84e8d85434760af904d2daeeb919fb966 (patch)
tree0e45971b2f883a4b2aad27af2e5abfa9e9446b19 /web/views
parent2370298139e6c62c1b3790d53a4e18a7c6e25f17 (diff)
downloadtaginfo-273d37d84e8d85434760af904d2daeeb919fb966.tar
taginfo-273d37d84e8d85434760af904d2daeeb919fb966.tar.gz
Move search to the menu
Diffstat (limited to 'web/views')
-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 %>