4 lines
267 B
Text
4 lines
267 B
Text
|
- submit_btn_css ||= 'btn btn-link btn-remove btn-small'
|
||
|
= form_tag admin_application_path(application) do
|
||
|
%input{:name => "_method", :type => "hidden", :value => "delete"}/
|
||
|
= submit_tag 'Destroy', onclick: "return confirm('Are you sure?')", class: submit_btn_css
|