From 854177554905159506220cd88aa765fca47bf756 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 19 Jun 2015 19:19:39 +0000 Subject: Use existing label for password submission (#19851). git-svn-id: http://svn.redmine.org/redmine/trunk@14335 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/sudo_mode/_new_modal.html.erb | 2 +- app/views/sudo_mode/new.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/sudo_mode') diff --git a/app/views/sudo_mode/_new_modal.html.erb b/app/views/sudo_mode/_new_modal.html.erb index f63c1a427..a7bf5ed70 100644 --- a/app/views/sudo_mode/_new_modal.html.erb +++ b/app/views/sudo_mode/_new_modal.html.erb @@ -12,7 +12,7 @@

- <%= submit_tag l(:button_confirm_password), onclick: "hideModal(this);" %> + <%= submit_tag l(:button_submit), onclick: "hideModal(this);" %> <%= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>

<% end %> diff --git a/app/views/sudo_mode/new.html.erb b/app/views/sudo_mode/new.html.erb index d92e47d47..daf63c932 100644 --- a/app/views/sudo_mode/new.html.erb +++ b/app/views/sudo_mode/new.html.erb @@ -10,7 +10,7 @@ <%= password_field_tag :sudo_password, nil, size: 25 %>

- <%= submit_tag l(:button_confirm_password) %> + <%= submit_tag l(:button_submit) %> <% end %> <%= javascript_tag "$('#sudo_password').focus();" %> -- cgit v1.2.3