<div id="finder">
    <h1>Find Allocation:</h1>

    <% form_tag('/kidney/find', :method => "post") do %>
      <%= label_tag(:data, "Data:") %>
      <%= text_area_tag(:data) %>

      <% field_set_tag 'Options' do %>

          <div id="operation_wrapper">
            <%= label_tag(:operation, "Operation:") %>
            <%= select_tag :operation, options_for_select(@operations) %>
          </div>

          <div id="chain_length_wrapper">
            <%= label_tag(:altruistic_chain_length, "Altruistic chain length:") %>
            <%= select_tag(:altruistic_chain_length, options_for_select(@chain_lengths)) %>
          </div>

      <% end %>
      <%= submit_tag("Find") %>
    <% end %>
</div>