Sha256: f5247c6db9f1f505d03fb88066bb03f878b2fd30e97b8c7f1de1c4407fb07e07
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
<%- if controller_name != 'sessions' %> <%= link_to "Log in", new_session_path(resource_name), class: "d-grid gap-2 col-6 mx-auto link-class" %><br> <% end %> <%- if devise_mapping.registerable? && controller_name != 'registrations' %> <%= link_to "Sign up", new_registration_path(resource_name), class: "d-grid gap-2 col-6 mx-auto link-class" %><br> <% end %> <%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %> <%= link_to "Forgot your password?", new_password_path(resource_name), class: "d-grid gap-2 col-6 mx-auto link-class" %><br> <% end %> <%- if devise_mapping.confirmable? && controller_name != 'confirmations' %> <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br> <% end %> <%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %> <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br> <% end %> <%- if devise_mapping.omniauthable? %><div class="align-class">-------------- OR SIGN IN WITH --------------</div><br> <%- resource_class.omniauth_providers.each do |provider| %> <%= link_to "Sign in with Google", omniauth_authorize_path(resource_name, provider), method: :post, class: "d-grid gap-2 col-6 mx-auto link-class btn btn-primary btn-lg shadow" %><br> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blog_app-0.0.1 | lib/app/views/users/shared/_links.html.erb |