Sha256: 93e8bb60e53cb2b4dc48cb93b16822d58ed5969851070dbb5e38b8ca50f695e8

Contents?: true

Size: 1.14 KB

Versions: 14

Compression:

Stored size: 1.14 KB

Contents

<div class="bg-light mt-5 text-center">
<%- if controller_name != 'sessions' %>
  <%= link_to t('.sign_in'), new_session_path(resource_name) %><br />
<% end %>

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

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
  <%= link_to t('.forgot_password'), new_password_path(resource_name) %><br />
<% end %>

<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
  <%= link_to t('.confirmation'), new_confirmation_path(resource_name) %><br />
<% end %>

<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
  <%= link_to t('.unlock'), new_unlock_path(resource_name) %><br />
<% end %>

<%- if devise_mapping.omniauthable? %>
  <%- resource_class.omniauth_providers.each do |provider| %>
    <%= link_to t('.omniauth', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), method: :post %><br />
  <% end %>
<% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
headmin-0.2.9 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.2 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.1 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.0 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.4.2 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.4.1 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.4.0 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.3.4 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.3.3 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.3.2 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.3.1 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.2.8 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.2.7 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.2.6 app/views/headmin/views/devise/shared/_links.html.erb