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:
evazion
2019-09-17 00:28:41 -05:00
parent c85bbbf8c2
commit a5ef86bbe8
28 changed files with 277 additions and 340 deletions

View File

@@ -1,6 +1,4 @@
<% content_for(:secondary_links) do %>
<menu>
<%= subnav_link_to "Listing", bulk_update_requests_path %>
<%= subnav_link_to "New", new_bulk_update_request_path %>
</menu>
<%= subnav_link_to "Listing", bulk_update_requests_path %>
<%= subnav_link_to "New", new_bulk_update_request_path %>
<% end %>