make the recover password error message slightly more informitive for people who signed up for invites but have not yet received them yet

This commit is contained in:
maxwell 2011-01-20 12:48:28 -08:00
parent 7217bba7e7
commit c6a3cff644
2 changed files with 4 additions and 1 deletions

View file

@ -2,8 +2,10 @@
.floating .floating
%h3 %h3
=t('.forgot_password') =t('.forgot_password')
- unless devise_error_messages!.empty?
%i= t('.no_account')
= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f| = form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f|
= devise_error_messages!
%p %p
= f.label :email = f.label :email
= f.text_field :email = f.text_field :email

View file

@ -34,6 +34,7 @@ en:
change_password: "Change my password" change_password: "Change my password"
new: new:
forgot_password: "Forgot your password?" forgot_password: "Forgot your password?"
no_account: 'No account with this email exsists. If you are waiting for an invite, we are rolling them out as soon as possible'
send_password_instructions: "Send me reset password instructions" send_password_instructions: "Send me reset password instructions"
confirmations: confirmations:
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.' send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'