Sha256: dcf93e8f4281761f530c5463ef0735ed856700378af29b1fa37219b319575f97

Contents?: true

Size: 920 Bytes

Versions: 12

Compression:

Stored size: 920 Bytes

Contents

<%- if controller_name != 'sessions' %>
  <% scope = Devise::Mapping.find_scope!(resource_name) %>
  <%= link_to "Sign in", send(:"new_#{scope}_session_path") }")br />
<% end -%>

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
  <%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
  <%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
  <%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
<% end -%>

<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
  <%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
<% end -%>

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
andrewroth_activeadmin-0.3.4 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.3.4 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.3.3 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.3.2 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.3.1 app/views/active_admin/devise/shared/_links.erb
activeadmin-0.3.0 app/views/active_admin/devise/shared/_links.erb
nsm-activeadmin-0.2.2 app/views/active_admin/devise/shared/_links.erb
saulolso-activeadmin-0.2.2.1 lib/active_admin/views/templates/active_admin/devise/shared/_links.erb
saulolso-activeadmin-0.2.2 lib/active_admin/views/templates/active_admin/devise/shared/_links.erb
activeadmin-0.2.2 lib/active_admin/views/templates/active_admin/devise/shared/_links.erb
activeadmin-0.2.1 lib/active_admin/views/templates/active_admin/devise/shared/_links.erb
activeadmin-0.2.0 lib/active_admin/views/templates/active_admin/devise/shared/_links.erb