2010-01-14 10:04:13 -05:00
|
|
|
<%- if controller_name != 'sessions' %>
|
2010-03-30 14:06:56 -04:00
|
|
|
<%= link_to "Sign in", new_session_path(resource_name) %><br />
|
2010-01-09 09:59:24 -05:00
|
|
|
<% end -%>
|
|
|
|
|
2010-01-23 19:26:06 -05:00
|
|
|
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
2010-03-30 14:06:56 -04:00
|
|
|
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
|
2010-01-23 19:26:06 -05:00
|
|
|
<% end -%>
|
|
|
|
|
2010-01-14 10:04:13 -05:00
|
|
|
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
|
2010-03-30 14:06:56 -04:00
|
|
|
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
2010-01-09 09:59:24 -05:00
|
|
|
<% end -%>
|
|
|
|
|
2010-01-14 10:04:13 -05:00
|
|
|
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
2010-03-30 14:06:56 -04:00
|
|
|
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
|
2010-01-09 09:59:24 -05:00
|
|
|
<% end -%>
|
|
|
|
|
2010-04-15 02:40:15 -04:00
|
|
|
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
2010-03-30 14:06:56 -04:00
|
|
|
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
|
2010-01-23 19:26:06 -05:00
|
|
|
<% end -%>
|