app/views/devise/shared/_links.html.haml
.devise-links
- if controller_name != 'sessions'
.link
Already got an account?
= link_to "Log in", new_session_path(resource_name)
- if devise_mapping.registerable? && controller_name != 'registrations'
.link
Don’t have an account yet?
= link_to "Sign up for free.", new_registration_path(resource_name)
- if devise_mapping.confirmable? && controller_name != 'confirmations'
.link
Didn’t receive your confirmation email?
= link_to "Resend it.", new_confirmation_path(resource_name)
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
.link
= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name)