anchor.diff:      {
         link_text: t('collect_submissions.collect_all'),
         link_path: collect_all_submissions_assignment_submissions_path(@assignment.id),
  -      html_options: { confirm: t('collect_submissions.results_loss_warning') }
  +      html_options: { data: { confirm: t('collect_submissions.results_loss_warning') } }
       },
       {
         link_text: t('browse_submissions.csv_report'),
  
positive.code:   ] %>
  <% end %>
  
  <% # Allow TA submission collection only if all the submissions are
     # assignment to exactly one TA. %>
  <% if @current_user.ta? and @assignment.past_collection_date? and
        @groupings.all? {|grouping| grouping.get_ta_names.size == 1} %>
    <% @heading_buttons.push(
      {
        link_text: t('collect_submissions.collect_ta'),
        link_path: collect_ta_submissions_assignment_submissions_path(@assignment),
        html_options: { confirm: t('collect_submissions.results_loss_warning') }
      }) %>
    <span class='menu_bar'></span>
  <% elsif @current_user.ta? and @assignment.past_collection_date? %>
    <% @heading_buttons.push(
    {
      link_text: t('collect_submissions.collect_ta'),
      link_path: '#',
      html_options: {
                      id: 'disable',
                      title: t('collect_submissions.disable_collect')
                    }
    }) %>
  <% end %>
  
  <% if all_assignments_marked? %>
    <% @heading_buttons.push(
    {
  
negative.code:     link_text: t('browse_submissions.download_groupings_files'),
      link_path: download_groupings_files_assignment_submissions_path(
                 groupings: @groupings),
      html_options: { data: { confirm: t('collect_submissions.marking_incomplete_warning') } }
    }) %>
  <% end %>
  
  