%h4= I18n.t('admin.form.bulk_delete') %ul= render :partial => "delete_notice", :collection => @objects = form_tag bulk_delete_path(:model_name => @abstract_model.to_param, :bulk_ids => @objects.map(&:id)), :method => :delete do .actions %input{:type => :hidden, :name => 'return_to', :value => (params[:return_to].presence || request.referer)} %button.btn.danger{:type => "submit", :'data-disable-with' => t("admin.form.confirmation")}= t("admin.form.confirmation") %button.btn{:type => "submit", :name => "_continue", :'data-disable-with' => t("admin.form.cancel")}= t("admin.form.cancel")