gitlab-org--gitlab-foss/app/views/admin/applications/_delete_form.html.haml

5 lines
267 B
Text
Raw Normal View History

2015-03-14 03:29:32 -04:00
- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
2015-01-17 18:37:27 -05:00
= 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