mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
Move search field to semantically correct place in markup
This commit is contained in:
parent
e6907f7d7a
commit
807532def0
1 changed files with 6 additions and 6 deletions
|
@ -16,6 +16,12 @@
|
|||
]
|
||||
%>
|
||||
<nav class="inline menu">
|
||||
<li id="search">
|
||||
<fieldset>
|
||||
<label for="query">Search</label>
|
||||
<input id="query" type="search" incremental="" results="0" placeholder="Search Articles">
|
||||
</fieldset>
|
||||
</li>
|
||||
<% menu.each do |menu_item|
|
||||
label, count = menu_item
|
||||
path = (label != "All" ? '/' + label.downcase : '') + "/articles/"
|
||||
|
@ -28,12 +34,6 @@
|
|||
<a href="<%= path %>"<%= %Q{class="active"} if active %>><%= label %></a> (<%= count %>)
|
||||
</li>
|
||||
<% end %>
|
||||
<li id="search">
|
||||
<fieldset>
|
||||
<label for="query">Search</label>
|
||||
<input id="query" type="search" incremental="" results="0" placeholder="Search Articles">
|
||||
</fieldset>
|
||||
</li>
|
||||
</nav>
|
||||
|
||||
<ul id="articles" class="articles">
|
||||
|
|
Loading…
Reference in a new issue