Interlink bans, ip bans, and user feedbacks pages.
* Make the bans, ip bans, ip addresses, and user feedbacks pages all link to one another in the secondary links. * Add quick search bars to the secondary links on these pages.
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<% content_for(:secondary_links) do %>
|
||||
<%= quick_search_form_for(:ip_addr, ip_bans_path, "ip addresses") %>
|
||||
<%= subnav_link_to "Listing", ip_bans_path %>
|
||||
<%= subnav_link_to "New", new_ip_ban_path %>
|
||||
<% if policy(IpAddress).index? %>
|
||||
<%= subnav_link_to "IP Addresses", ip_addresses_path %>
|
||||
<% end %>
|
||||
<%= subnav_link_to "Bans", ip_bans_path %>
|
||||
<%= subnav_link_to "Feedbacks", user_feedbacks_path %>
|
||||
<% if policy(IpBan).create? %>
|
||||
| <%= subnav_link_to "New", new_ip_ban_path %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user