2022-12-20 16:33:23 +01:00
|
|
|
- if controller_name != 'sessions'
|
2022-12-21 16:30:29 +01:00
|
|
|
= link_to "Log in", main_app.new_member_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/
|
|
|
|
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
|
2022-12-21 16:30:29 +01:00
|
|
|
= link_to "Forgot Password?", main_app.new_member_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" |
|
|
|
|
%br/
|
|
|
|
- if devise_mapping.registerable? && controller_name != 'registrations'
|
2022-12-21 16:30:29 +01:00
|
|
|
= link_to "Sign up", main_app.new_member_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" |
|
2022-12-20 16:33:23 +01:00
|
|
|
%br/
|
|
|
|
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
2022-12-21 16:30:29 +01:00
|
|
|
= link_to "Didn't receive confirmation info?", main_app.new_member_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 16:30:29 +01:00
|
|
|
= link_to "Didn't receive unlock info?", main_app.new_member_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/
|
|
|
|
- if devise_mapping.omniauthable?
|
|
|
|
- resource_class.omniauth_providers.each do |provider|
|
2022-12-21 16:30:29 +01:00
|
|
|
= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", main_app.omniauth_authorize_path(resource_name, provider), |
|
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/
|