views: add html ids for main menu and subnav menu.
Also refactor secondary links to put the <menu> element in the default layout instead of in each _secondary_links partial.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<%= quick_search_form_for(:body_matches, notes_path, "notes") %>
|
||||
<%= subnav_link_to "Listing", notes_path %>
|
||||
<%= subnav_link_to "Posts", posts_path(:tags => "order:note") %>
|
||||
<%= subnav_link_to "Search", search_notes_path %>
|
||||
<%= subnav_link_to "History", note_versions_path %>
|
||||
<%= subnav_link_to "Requests", posts_path(:tags => "translation_request") %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:notes") %>
|
||||
</menu>
|
||||
<%= quick_search_form_for(:body_matches, notes_path, "notes") %>
|
||||
<%= subnav_link_to "Listing", notes_path %>
|
||||
<%= subnav_link_to "Posts", posts_path(:tags => "order:note") %>
|
||||
<%= subnav_link_to "Search", search_notes_path %>
|
||||
<%= subnav_link_to "History", note_versions_path %>
|
||||
<%= subnav_link_to "Requests", posts_path(:tags => "translation_request") %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:notes") %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user