mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +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">
|
<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|
|
<% menu.each do |menu_item|
|
||||||
label, count = menu_item
|
label, count = menu_item
|
||||||
path = (label != "All" ? '/' + label.downcase : '') + "/articles/"
|
path = (label != "All" ? '/' + label.downcase : '') + "/articles/"
|
||||||
|
@ -28,12 +34,6 @@
|
||||||
<a href="<%= path %>"<%= %Q{class="active"} if active %>><%= label %></a> (<%= count %>)
|
<a href="<%= path %>"<%= %Q{class="active"} if active %>><%= label %></a> (<%= count %>)
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li id="search">
|
|
||||||
<fieldset>
|
|
||||||
<label for="query">Search</label>
|
|
||||||
<input id="query" type="search" incremental="" results="0" placeholder="Search Articles">
|
|
||||||
</fieldset>
|
|
||||||
</li>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<ul id="articles" class="articles">
|
<ul id="articles" class="articles">
|
||||||
|
|
Loading…
Reference in a new issue