1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/users/shared/_links.html.erb

26 lines
762 B
Text
Raw Normal View History

2018-12-03 22:33:24 -05:00
<hr/>
2018-11-29 17:01:27 -05:00
<%- if display_password_reset_link? %>
2018-11-29 16:14:05 -05:00
<%= link_to translate('.forgot_your_password'), new_password_path(resource_name) %>
<br/>
2018-11-29 16:03:07 -05:00
<% end -%>
2018-11-29 17:01:27 -05:00
<%- if display_email_confirmation_link? %>
2018-11-29 16:14:05 -05:00
<%= link_to translate('.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %>
<br/>
2018-11-29 16:03:07 -05:00
<% end -%>
2018-11-29 17:01:27 -05:00
<%- if display_unlock_link? %>
2018-11-29 16:14:05 -05:00
<%= link_to translate('.didn_t_receive_unlock_instructions'), new_unlock_path(resource_name) %>
<br/>
2018-11-29 16:03:07 -05:00
<% end -%>
2018-12-03 22:33:24 -05:00
<hr/>
2018-11-29 17:01:27 -05:00
<%- if display_omniauth_links? %>
2018-11-29 16:03:07 -05:00
<%- resource_class.omniauth_providers.each do |provider| %>
2018-11-29 16:14:05 -05:00
<%= link_to translate('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider) %>
<br/>
2018-11-29 16:03:07 -05:00
<% end -%>
<% end -%>