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:
parent
7217bba7e7
commit
c6a3cff644
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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.'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue