<%= form_tag update_multiple_site_mappings_path(@site), id: 'bulk-editing-modal', class: 'modal hide' do %>
  <header class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h3>
      <%= http_status_name(@bulk.http_status) %> mappings
    </h3>
  </header>
  <div class="modal-body">
    <%= render partial: 'edit_multiple_redirect',
               locals: {
                       modal: true,
                       new_url: @bulk.new_url,
                       new_url_error: @new_url_error,
                       http_status: @bulk.http_status } %>
    <%= render partial: 'edit_multiple_table',
               locals: { modal: true,
                         mappings: @bulk.mappings,
                         site: @site } %>
  </div>
  <footer class="modal-footer">
    <a href="#close" data-dismiss="modal" class="btn btn-default add-right-margin">Cancel</a>
    <%= submit_tag 'Save', class: 'btn btn-success' %>
  </footer>
<% end %>

<div id="bulk-editing-modal" class="modal" tabindex="-1" role="dialog" aria-hidden="true">
  <%= form_tag update_multiple_site_mappings_path(@site), class: 'modal-dialog', role: 'form' do %>
    <div class="modal-content">
      <header class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h3 class="modal-title">
          <%= http_status_name(@bulk.http_status) %> mappings
        </h3>
      </header>
      <div class="modal-body">
        <%= render partial: 'edit_multiple_redirect',
                   locals: {
                           modal: true,
                           new_url: @bulk.new_url,
                           new_url_error: @new_url_error,
                           http_status: @bulk.http_status } %>
        <%= render partial: 'edit_multiple_table',
                   locals: { modal: true,
                             mappings: @bulk.mappings,
                             site: @site } %>
      </div>
      <footer class="modal-footer">
        <a href="#close" data-dismiss="modal" class="btn btn-default add-right-margin">Cancel</a>
        <%= submit_tag 'Save', class: 'btn btn-success' %>
      </footer>
    </div>
  <% end %>
</div>

Update modal syntax to bootstrap 3
Update modal syntax to bootstrap 3

* Mostly adding new wrappers
* Visibility of modal is now managed using the aria attributes
* Move form onto one of the internal wrappers to maintain form aria role
