summaryrefslogtreecommitdiffstats
path: root/app/views/sudo_mode
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-19 19:19:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-19 19:19:39 +0000
commit854177554905159506220cd88aa765fca47bf756 (patch)
tree9a94b693728500ccb9965b07865df9b08054b94e /app/views/sudo_mode
parentef91a50cc2dcadbb39d2361de2599d887d9e524a (diff)
downloadredmine-854177554905159506220cd88aa765fca47bf756.tar.gz
redmine-854177554905159506220cd88aa765fca47bf756.zip
Use existing label for password submission (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14335 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/sudo_mode')
-rw-r--r--app/views/sudo_mode/_new_modal.html.erb2
-rw-r--r--app/views/sudo_mode/new.html.erb2
2 files changed, 2 insertions, 2 deletions
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 @@
</div>
<p class="buttons">
- <%= 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' %>
</p>
<% 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 %>
</p>
</div>
- <%= submit_tag l(:button_confirm_password) %>
+ <%= submit_tag l(:button_submit) %>
<% end %>
<%= javascript_tag "$('#sudo_password').focus();" %>