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,7 +1,5 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<menu>
|
||||
<%= subnav_link_to "Listing", user_name_change_requests_path %>
|
||||
<%= subnav_link_to "New", new_user_name_change_request_path %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:search => {:title => "help:user_name_change_requests"}) %>
|
||||
</menu>
|
||||
<%= subnav_link_to "Listing", user_name_change_requests_path %>
|
||||
<%= subnav_link_to "New", new_user_name_change_request_path %>
|
||||
<%= subnav_link_to "Help", wiki_pages_path(:search => {:title => "help:user_name_change_requests"}) %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user