<tr class="table-header-secondary">
  <td class="selectable-row">
    <div class="relative">
      <label>
        <input type="checkbox" class="js-toggle-all"/>
      </label>
    </div>
  </td>
  <td colspan="3">
    <div class="pull-left">
      <% unless footer %>
        <div class="if-js-hide">
          <%= label_tag :http_status_redirect, class: 'radio inline table-header-radio' do %>
            <%= radio_button_tag(:http_status, '301', selected = true) %> Redirect
          <% end %>
          <%= label_tag :http_status_archive, class: 'radio inline table-header-radio add-right-margin' do %>
            <%= radio_button_tag(:http_status, '410') %> Archive
          <% end %>
          <%= submit_tag "Edit selected", class: 'btn bold' %>
        </div>
      <% end %>
      <div class="if-no-js-hide btn-group">
        <a href="#redirect-selected" class="btn js-submit-form disabled" data-type="301" data-loading-text="Loading…">Redirect selected</a>
        <a href="#archive-selected" class="btn js-submit-form disabled" data-type="410" data-loading-text="Loading…">Archive selected</a>
      </div>
    </div>
    <div class="pull-right">
      <%= render partial: 'add_button' %>
    </div>
  </td>
</tr>

<tr class="table-header-secondary">
  <td class="selectable-row">
    <div class="relative if-no-js-hide">
      <label>
        <input type="checkbox" class="js-toggle-all"/>
      </label>
    </div>
  </td>
  <td colspan="3">
    <div class="pull-left">
      <% unless footer %>
        <div class="if-js-hide">
          <%= label_tag :http_status_301, class: 'radio inline table-header-radio' do %>
            <%= radio_button_tag(:http_status, '301', selected = true) %> Redirect
          <% end %>
          <%= label_tag :http_status_410, class: 'radio inline table-header-radio add-right-margin' do %>
            <%= radio_button_tag(:http_status, '410') %> Archive
          <% end %>
          <%= submit_tag "Edit selected", class: 'btn bold' %>
        </div>
      <% end %>
      <div class="if-no-js-hide btn-group">
        <a href="#redirect-selected" class="btn js-submit-form disabled" data-type="301" data-loading-text="Loading…">Redirect selected</a>
        <a href="#archive-selected" class="btn js-submit-form disabled" data-type="410" data-loading-text="Loading…">Archive selected</a>
      </div>
    </div>
    <div class="pull-right">
      <%= render partial: 'add_button' %>
    </div>
  </td>
</tr>

Fix checkbox & radio non-javascript interactions
Fix checkbox & radio non-javascript interactions

* Hide check-all checkbox when we aren’t using JavaScript, it won’t do
anything
* Update the label ‘for’ attribute so that labels are clickable again
