Sha256: 3611bd391070604e1e0288ff24535082e314257d5f2aaa0ed78db006e8524679

Contents?: true

Size: 1.33 KB

Versions: 40

Compression:

Stored size: 1.33 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) %>
    <br>
  <% end -%>
<% end -%>

Version data entries

40 entries across 40 versions & 5 rubygems

Version Path
activeadmin-rails-1.7.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-rails-1.7.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-rb-1.6.0 app/views/active_admin/devise/shared/_links.erb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/app/views/active_admin/devise/shared/_links.erb
activeadmin-rb-1.5.2 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.9.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.8.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.8.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-rb-1.5.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.7.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.6.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.6.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.5.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.4.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.3.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.3.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.2.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.1.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.0.0 app/views/active_admin/devise/shared/_links.erb