<%= form_tag(moderator_ip_addrs_path, :method => :get, :class => "simple_form") do %>
  <div class="input">
    <label for="user_ids">Search IPs</label>
    <%= text_field_tag "search[ip_addr]", params[:ip_addrs] %>
  </div>

  <%= submit_tag "Search" %>
<% end %>

<%= form_tag(moderator_ip_addrs_path, :method => :get, :class => "simple_form") do %>
  <div class="input">
    <label for="user_ids">Search User IDs</label>
    <%= text_field_tag "search[user_id]", params[:user_ids] %>
  </div>

  <%= submit_tag "Search" %>
<% end %>
