debian-mirror-gitlab/app/views/admin/applications/_delete_form.html.haml
2021-01-30 21:13:32 +05:30

4 lines
263 B
Text

- submit_btn_css ||= 'gl-button btn btn-danger btn-sm'
= form_tag admin_application_path(application) do
%input{ :name => "_method", :type => "hidden", :value => "delete" }/
= submit_tag 'Destroy', class: submit_btn_css, data: { confirm: _('Are you sure?') }