gitlab-org--gitlab-foss/app/views/admin/applications/_delete_form.html.haml
Heinrich Lee Yu 0284917c70 Remove inline JS in links
Changes these to use unobtrusive JS
2019-08-21 05:43:04 +08:00

4 lines
262 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', class: submit_btn_css, data: { confirm: _('Are you sure?') }