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