Sha256: 28e6a67810c39e70f593c10613b389f0d8cdaa5665c2729078a8726a496d1c9e

Contents?: true

Size: 918 Bytes

Versions: 10

Compression:

Stored size: 918 Bytes

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 %>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.6.2 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.6.1 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.6.0 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.9 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.8 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.7 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.6 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.5 app/views/headmin/views/devise/shared/_links.html.erb
headmin-0.5.4 app/views/headmin/views/devise/shared/_links.html.erb