summaryrefslogtreecommitdiff
path: root/app/views/admin/applications/_delete_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/applications/_delete_form.html.haml')
-rw-r--r--app/views/admin/applications/_delete_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/applications/_delete_form.html.haml b/app/views/admin/applications/_delete_form.html.haml
index 82781f6716d..86f09bf1cb0 100644
--- a/app/views/admin/applications/_delete_form.html.haml
+++ b/app/views/admin/applications/_delete_form.html.haml
@@ -1,4 +1,4 @@
- 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
+ = submit_tag 'Destroy', class: submit_btn_css, data: { confirm: _('Are you sure?') }