gitlab-org--gitlab-foss/app/views/admin/applications/_delete_form.html.haml
Dmitriy Zaporozhets 30ca451fd4 Refactor buttons
2015-03-14 00:29:32 -07:00

4 lines
No EOL
264 B
Text

- submit_btn_css ||= 'btn btn-link btn-remove btn-sm'
= 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