message for closed signups on users#sign_in
This commit is contained in:
parent
ec41ace9bf
commit
efab6449b3
2 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,9 @@
|
|||
- if !APP_CONFIG[:registrations_closed] && devise_mapping.registerable? && controller_name != 'registrations'
|
||||
= link_to t('.sign_up'), new_registration_path(resource_name)
|
||||
%br/
|
||||
- else
|
||||
%b= t('.sign_up_closed')
|
||||
%br/
|
||||
- if devise_mapping.recoverable? && controller_name != 'passwords'
|
||||
= link_to t('.forgot_your_password'), new_password_path(resource_name)
|
||||
%br/
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ en:
|
|||
links:
|
||||
sign_in: 'Sign in'
|
||||
sign_up: 'Sign up'
|
||||
sign_up_closed: 'Open signups are closed at this time.'
|
||||
forgot_your_password: 'Forgot your password?'
|
||||
receive_confirmation: "Didn't receive confirmation instructions?"
|
||||
receive_unlock: "Didn't receive unlock instructions?"
|
||||
|
|
|
|||
Loading…
Reference in a new issue