hubfeenix.fi/app/views/devise/shared/_links.html.haml

21 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-12-20 16:33:23 +01:00
- if controller_name != 'sessions'
2022-12-21 17:04:09 +01:00
= link_to "Log in", new_session_path(resource_name), |
2022-12-20 20:02:36 +01:00
class: "inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" |
2022-12-20 16:33:23 +01:00
%br/
2022-12-21 17:04:09 +01:00
- if devise_mapping.registerable? && controller_name != 'registrations'
= link_to "Sign up", new_registration_path(resource_name), |
2022-12-20 20:02:36 +01:00
class: "inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" |
%br/
2022-12-21 17:04:09 +01:00
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
= link_to "Forgot Password?", new_password_path(resource_name), |
2022-12-20 20:02:36 +01:00
class: "inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" |
2022-12-20 16:33:23 +01:00
%br/
- if devise_mapping.confirmable? && controller_name != 'confirmations'
2022-12-21 17:04:09 +01:00
= link_to "Didn't receive confirmation info?", new_confirmation_path(resource_name), |
2022-12-20 20:02:36 +01:00
class: "inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" |
2022-12-20 16:33:23 +01:00
%br/
- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks'
2022-12-21 17:04:09 +01:00
= link_to "Didn't receive unlock info?", new_unlock_path(resource_name), |
2022-12-20 20:02:36 +01:00
class: "inline-block align-baseline font-bold text-sm text-blue-500 hover:text-blue-800" |
2022-12-20 16:33:23 +01:00
%br/