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,9 +1,7 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<%= subnav_link_to "Listing", posts_path %>
|
||||
<%= subnav_link_to "Upload", new_upload_path %>
|
||||
<%= subnav_link_to "Search", search_post_versions_path %>
|
||||
<%= subnav_link_to "Changes", post_versions_path %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
|
||||
</menu>
|
||||
<%= subnav_link_to "Listing", posts_path %>
|
||||
<%= subnav_link_to "Upload", new_upload_path %>
|
||||
<%= subnav_link_to "Search", search_post_versions_path %>
|
||||
<%= subnav_link_to "Changes", post_versions_path %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:title => "help:posts") %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user