<% content_for(:secondary_links) do %>
  <%= quick_search_form_for(:ip_addr, ip_bans_path, "ip addresses") %>
  <%= subnav_link_to "Listing", ip_bans_path %>
  <% if policy(IpAddress).index? %>
    <%= subnav_link_to "IP Addresses", ip_addresses_path %>
  <% end %>
  <%= subnav_link_to "Bans", bans_path %>
  <%= subnav_link_to "Feedbacks", user_feedbacks_path %>
  <% if policy(IpBan).create? %>
    | <%= subnav_link_to "New", new_ip_ban_path %>
  <% end %>
<% end %>
