Commit c2badfa2 authored by mh's avatar mh
Browse files

use placeholder to indicate what to enter

parent 4e764ae3
......@@ -48,7 +48,7 @@
</td></tr><tr><td>
<%= label_tag(:password, (t :your_main_pw)) %>
</td><td>
<%= password_field_tag(:password) %>
<%= password_field_tag(:password, nil, placeholder: t(:enter_your_current_pwd)) %>
</td></tr>
</table>
<p>
......
......@@ -3,8 +3,14 @@
<%= t :delete_account_help %>
</p>
<%= form_tag(delete_account_path, method: "post") do %>
<%= label_tag(:pass, (t :password)) %>
<%= password_field_tag(:pass) %>
<%= submit_tag(t :delete) %>
<%= link_to t(:back), root_path %>
<table>
<tr><td>
<%= label_tag(:pass, t(:your_main_pw)) %>
</td><td>
<%= password_field_tag(:pass, nil, placeholder: t(:enter_your_current_pw)) %>
</td><td>
</tr>
</table>
<%= submit_tag(t(:delete)) %>
<%= link_to(t(:back), root_path) %>
<% end %>
......@@ -6,7 +6,7 @@
<%= form_tag(mail_crypt_path, method: "post") do %>
<table>
<tr><td><%= label_tag(:pass, t(:your_main_pw)) %></td><td><%= password_field_tag(:pass) %></td></tr>
<tr><td><%= label_tag(:pass, t(:your_main_pw)) %></td><td><%= password_field_tag(:pass, nil, placeholder: t(:enter_your_current_pw)) %></td></tr>
</table>
<div id="keep_recovery_token_question">
......
......@@ -58,6 +58,7 @@ de:
generate: "generieren"
change_password_short_help: "Das Hauptpasswort ändern"
your_main_pw: "Dein Hauptpasswort"
enter_your_current_pw: "Gib dein aktuelles Passwort ein"
new_app_passwords: "Neues Applikations Passwort anfordern"
signup_success: "Konto erfolgreich erstellt"
check_token_failed: "Ungültiger Einladungstoken!"
......
......@@ -58,6 +58,7 @@ en:
generate: "generate"
change_password_short_help: "Change your main password"
your_main_pw: "Your main password"
enter_your_current_pw: "Enter your current password"
new_app_passwords: "Request new application password"
signup_success: "Account successfully created"
check_token_failed: "Invalid invitation token!"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment