Sha256: 3256ad77fcbd658dc92c3c3451a2e060768d60aa720aad838fef8fc2d22e9cda

Contents?: true

Size: 1.02 KB

Versions: 50

Compression:

Stored size: 1.02 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 -%>

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
lalala-4.0.0.dev.59 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
lalala-4.0.0.dev.58 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
lalala-4.0.0.dev.57 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
lalala-4.0.0.dev.56 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
lalala-4.0.0.dev.50 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
lalala-4.0.0.dev.46 vendor/deps/active_admin/app/views/active_admin/devise/shared/_links.erb
activeadmin-0.5.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.5.0 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.5.0.pre1 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.5.0.pre app/views/active_admin/devise/shared/_links.erb