<%= 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] %>
    <span class="hint">Separate with commas</span>
  </div>

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

<%= form_tag(moderator_ip_addrs_path, :method => :get, :class => "simple_form") do %>
  <div class="input">
    <label for="user_names">Search User Names</label>
    <%= text_field_tag "search[user_name]", params[:user_names] %>
    <span class="hint">Separate with commas</span>
  </div>

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