From: Ævar Arnfjörð Bjarmason Date: Wed, 14 Oct 2009 19:49:20 +0000 (+0000) Subject: Improve the UI of the /user/forgot-password page X-Git-Tag: live~6574 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f68ca9ebc223b276f53d3073367d7e3d8ed9e6c8 Improve the UI of the /user/forgot-password page * Align the submit button like on the rest of the /user/* pages * Tabindex * Help text to explain what the page does --- diff --git a/app/views/user/lost_password.html.erb b/app/views/user/lost_password.html.erb index cb844c67c..c5d8bb004 100644 --- a/app/views/user/lost_password.html.erb +++ b/app/views/user/lost_password.html.erb @@ -1,9 +1,13 @@ -

<%= t 'user.lost_password.heading' %>


+

<%= t 'user.lost_password.heading' %>

+ +

<%= t 'user.lost_password.help_text' %>

<% form_tag :action => 'lost_password' do %> - + + + + +
<%= t 'user.lost_password.email address' %><%= text_field('user', 'email', {:size => 50, :maxlength => 255} ) %>
<%= t 'user.lost_password.email address' %><%= text_field('user', 'email', {:size => 50, :maxlength => 255, :tabindex => 1} ) %>
-
- <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 56b00c3c7..09c7b82ef 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -898,6 +898,7 @@ en: heading: "Forgotten Password?" email address: "Email Address:" new password button: "Reset password" + help_text: "Enter the E-Mail address you used to sign up, we'll send a link to it that you can use to reset your password." notice email on way: "Sorry you lost it :-( but an email is on its way so you can reset it soon." notice email cannot find: "Couldn't find that email address, sorry." reset_password: