From f68ca9ebc223b276f53d3073367d7e3d8ed9e6c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Wed, 14 Oct 2009 19:49:20 +0000 Subject: [PATCH] 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 --- app/views/user/lost_password.html.erb | 12 ++++++++---- config/locales/en.yml | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) 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: -- 2.43.2