2025-10-26 10:34:12 -04:00
|
|
|
<div class='mt-5'>
|
2024-04-04 14:14:11 -04:00
|
|
|
<% if !signed_in? %>
|
2024-01-03 06:13:00 -05:00
|
|
|
<div class='my-2'>
|
|
|
|
|
<%= link_to "Log in", new_session_path(resource_name) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2025-04-11 18:08:51 -04:00
|
|
|
|
2025-04-15 15:34:02 -04:00
|
|
|
<% if !SELF_HOSTED && defined?(devise_mapping) && devise_mapping&.registerable? && controller_name != 'registrations' %>
|
2025-04-11 18:08:51 -04:00
|
|
|
<div class='my-2'>
|
|
|
|
|
<%= link_to "Register", new_registration_path(resource_name) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2023-10-21 06:52:50 -04:00
|
|
|
|
2024-04-04 14:14:11 -04:00
|
|
|
<% if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
2024-01-03 06:13:00 -05:00
|
|
|
<div class='my-2'>
|
|
|
|
|
<%= link_to "Forgot your password?", new_password_path(resource_name) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2023-10-21 06:52:50 -04:00
|
|
|
|
2024-04-04 14:14:11 -04:00
|
|
|
<% if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
2024-01-03 06:13:00 -05:00
|
|
|
<div class='my-2'>
|
|
|
|
|
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2023-10-21 06:52:50 -04:00
|
|
|
|
2024-04-04 14:14:11 -04:00
|
|
|
<% if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
2024-01-03 06:13:00 -05:00
|
|
|
<div class='my-2'>
|
|
|
|
|
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
2023-10-21 06:52:50 -04:00
|
|
|
|
2024-04-04 14:14:11 -04:00
|
|
|
<% if devise_mapping.omniauthable? %>
|
|
|
|
|
<% resource_class.omniauth_providers.each do |provider| %>
|
2024-01-03 06:13:00 -05:00
|
|
|
<%= button_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), data: { turbo: false } %><br />
|
|
|
|
|
<% end %>
|
2023-10-21 06:52:50 -04:00
|
|
|
<% end %>
|
2024-01-03 06:13:00 -05:00
|
|
|
</div>
|