<%= link_to ts("Default All Incomplete"),
default_all_collection_assignments_path(@collection),
data: { confirm: ts("Are you sure? This will mark all unposted or unapproved assignments in the challenge as defaulting.") },
role: "button" %>
<%= link_to ts("Purge Assignments"),
confirm_purge_collection_assignments_path(@collection),
data: { confirm: ts("This will delete ALL assignments so you can edit and send them over. Please do not do this unless you absolutely must!") },
role: "button" %>
<% 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 %>
<%= submit_fieldset %>
<% end %>
<% end %>
<%= will_paginate @assignments %>
<% end %>