BigW Consortium Gitlab

_delete_form.html.haml 265 Bytes
Newer Older
Dmitriy Zaporozhets committed
1
- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
2 3
= form_tag admin_application_path(application) do
  %input{:name => "_method", :type => "hidden", :value => "delete"}/
4
  = submit_tag 'Destroy', onclick: "return confirm('Are you sure?')", class: submit_btn_css