<% semantic_form_for :delete, :url => admin_buyers_applications_bulk_delete_path,
  :html => {
    :'data-remote' => true,
    :'data-confirm' => "Are you sure to delete these #{@applications.count} applications?"
  } do |form| %>
  <%- form.inputs do -%>
    <%= render 'buyers/applications/bulk/selected_applications' %>
    <%- form.buttons do -%>
      <%= form.commit_button 'Delete applications', :button_html => {:'data-disable-with' => 'Running bulk action...' } %>
    <%- end -%>
  <%- end -%>
 <% end %>
