<%= ts("Assignments for %{collection_title}", collection_title: @collection.title) %> <%= link_to_help "challenge-assignments" %>

<% if @assignments.count < 1 %>

<%= ts("No assignments to review!") %>

<% else %> <%= will_paginate @assignments %> <% if params[:fulfilled] %> <%= render "maintainer_index_fulfilled" %> <% else %> <%= form_tag update_multiple_collection_assignments_path(@collection), method: :put do %>
<% if !(params[:pinch_hit] || params[:unfulfilled] || params[:fulfilled]) %> <%= render "maintainer_index_defaulted" %> <% elsif params[:pinch_hit] %> <%= ts("Pinch Hit Assignments") %>

<%=ts("Pinch Hit Assignments") %>

<%= render "maintainer_index_unfulfilled" %> <% elsif params[:unfulfilled] %> <%= ts("Open Assignments") %>

<%=ts("Open Assignments") %>

<%= render "maintainer_index_unfulfilled" %> <% end %>
<%= submit_fieldset %> <% end %> <% end %> <%= will_paginate @assignments %> <% end %>