2015-04-26 12:48:37 +05:30
|
|
|
- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
|
|
|
|
= form_tag admin_application_path(application) do
|
|
|
|
%input{:name => "_method", :type => "hidden", :value => "delete"}/
|
2016-06-02 11:05:42 +05:30
|
|
|
= submit_tag 'Destroy', onclick: "return confirm('Are you sure?')", class: submit_btn_css
|