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-rb-1.5.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-2.0.0.rc2 app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin-2.0.0.rc1 app/views/active_admin/devise/shared/_links.erb
activeadmin-rb-1.4.0 app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin-1.4.3 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.4.2 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.4.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.4.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.3.1 app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin-1.3.0 app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/app/views/active_admin/devise/shared/_links.erb
activeadmin-1.2.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.2.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-1.1.0 app/views/active_admin/devise/shared/_links.erb