%= form_tag set_collection_assignments_path, :method => :put do %>
<% if @assignments.blank? %>
<%= ts("None here! Please check the other tabs.") %>
<% else %>
">
<%= ts("Assignments") %>
| <%= ts("Assignment ID") %> |
<%= ts("Recipient") %> |
<%= ts("Giver") %> |
<% unless params[:no_recipient] %>
<%= ts("Write-In Giver") %> <%= link_to_help "challenge-pinch-hitter" %> |
<% end %>
<% @assignments.each do |assignment| %>
<%= render "potential_matches/assignment_with_request", :assignment => assignment %>
<% end %>
<% unless @assignments.is_a?(Array) %>
<% # if these are bad assignments with errors then it's an array and can't be paginated %>
<%= will_paginate @assignments %>
<% end %>
<% end %>
<%= render "potential_matches/match_navigation" %>
<% end %>