Sha256: e27c2e7d7a18a549128dd93975dbb70be951c5bc533a46a0c28c021fdcfa56a5

Contents?: true

Size: 1.34 KB

Versions: 17

Compression:

Stored size: 1.34 KB

Contents

<%- if controller_name != 'sessions' %>
  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= link_to t('active_admin.devise.links.sign_in'), send(:"new_#{scope}_session_path") %>
  <br>
<% end -%>

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

<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
  <%= link_to t('active_admin.devise.links.forgot_your_password'), new_password_path(resource_name) %>
  <br>
<% end -%>

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

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

<%- if devise_mapping.omniauthable? %>
  <%- resource_class.omniauth_providers.each do |provider| %>
    <%= link_to t('active_admin.devise.links.sign_in_with_omniauth_provider', provider: provider.to_s.titleize),
          omniauth_authorize_path(resource_name, provider), method: :post %>
    <br>
  <% end -%>
<% end -%>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
activeadmin-3.2.5 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.2.4 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.2.3 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.2.2 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.2.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.2.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.1.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-3.0.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.14.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.13.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.13.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.12.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.11.2 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.11.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.11.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.10.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.10.0 app/views/active_admin/devise/shared/_links.erb