diff --git a/app/views/ip_addresses/_secondary_links.html.erb b/app/views/ip_addresses/_secondary_links.html.erb new file mode 100644 index 000000000..11d3cca0a --- /dev/null +++ b/app/views/ip_addresses/_secondary_links.html.erb @@ -0,0 +1,7 @@ +<% content_for(:secondary_links) do %> + <%= quick_search_form_for(:ip_addr, ip_addresses_path, "ip addresses") %> + <%= subnav_link_to "Listing", ip_addresses_path %> + <%= subnav_link_to "IP Bans", ip_bans_path %> + <%= subnav_link_to "Bans", bans_path %> + <%= subnav_link_to "Feedbacks", user_feedbacks_path %> +<% end %> diff --git a/app/views/ip_addresses/index.html.erb b/app/views/ip_addresses/index.html.erb index 8d0c7261b..d79f084dc 100644 --- a/app/views/ip_addresses/index.html.erb +++ b/app/views/ip_addresses/index.html.erb @@ -1,3 +1,5 @@ +<%= render "secondary_links" %> +