Sha256: 3721a45c2cd98462168a3b90553a12473b64ab6fee2211f1a01691df7547890c

Contents?: true

Size: 1.12 KB

Versions: 309

Compression:

Stored size: 1.12 KB

Contents

<%- if controller_name != 'sessions' %>
  <%= link_to "Log in", new_session_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
  <%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
  <%= link_to "Forgot your password?", new_password_path(resource_name) %><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? %>
  <%- resource_class.omniauth_providers.each do |provider| %>
    <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
  <% end -%>
<% end -%>

Version data entries

309 entries across 296 versions & 21 rubygems

Version Path
bootstrap_views_generator-0.1.16 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
devise-bootstrap-form-0.4.0 app/views/devise/shared/_links.html.erb
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
tang-0.2.1 spec/tang_app/app/views/devise/shared/_links.html.erb
tang-0.2.0 spec/tang_app/app/views/devise/shared/_links.html.erb
tang-0.1.0 spec/tang_app/app/views/devise/shared/_links.html.erb
tang-0.0.9 spec/tang_app/app/views/devise/shared/_links.html.erb
tang-0.0.8 spec/tang_app/app/views/devise/shared/_links.html.erb
wordjelly-auth-1.6.0 app/views/auth/shared/_links.html.erb
wordjelly-auth-1.5.9 app/views/auth/shared/_links.html.erb
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
wordjelly-auth-1.5.8 app/views/auth/shared/_links.html.erb
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
decidim-system-0.18.1 app/views/decidim/system/devise/shared/_links.html.erb
wordjelly-auth-1.5.7 app/views/auth/shared/_links.html.erb
wordjelly-auth-1.5.6 app/views/auth/shared/_links.html.erb
wordjelly-auth-1.5.5 app/views/auth/shared/_links.html.erb
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/devise/erb/shared/_links.html.erb