Files
docuseal/app/views/devise/shared/_links.html.erb
T

18 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-06-07 12:04:11 +03:00
<div class="flex justify-between mt-4">
2023-05-30 01:34:01 +03:00
<%- if controller_name != 'sessions' %>
2023-06-07 12:04:11 +03:00
<%= link_to 'Log in', new_session_path(resource_name), class: 'link link-hover' %>
2023-05-21 17:59:36 +03:00
<% end %>
2023-05-30 01:34:01 +03:00
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
2023-08-24 00:28:21 +03:00
<%= link_to 'Create free account', registration_path({ redir: params[:redir] }.compact_blank), class: 'link link-hover' %>
2023-05-30 01:34:01 +03:00
<% end %>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
2023-06-07 12:04:11 +03:00
<%= link_to 'Forgot your password?', new_password_path(resource_name), class: 'link link-hover' %>
2023-05-30 01:34:01 +03:00
<% end %>
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
2023-06-07 12:04:11 +03:00
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name), class: 'link link-hover' %>
2023-05-30 01:34:01 +03:00
<% end %>
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
2023-06-07 12:04:11 +03:00
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name), class: 'link link-hover' %>
2023-05-30 01:34:01 +03:00
<% end %>
</div>