1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

forgot the partial..

This commit is contained in:
Marcelo Silveira 2010-01-09 12:59:24 -02:00
parent 4498acb1d0
commit 915afa5f0a

View file

@ -0,0 +1,15 @@
<%- unless current_page?(:controller => 'sessions') %>
<%= link_to t('devise.sessions.sign_in'), new_session_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.recoverable? && !current_page?(:controller => 'passwords') %>
<%= link_to t('devise.passwords.recover'), new_password_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.confirmable? && !current_page?(:controller => 'confirmations') %>
<%= link_to t('devise.confirmations.confirm'), new_confirmation_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.lockable? && !current_page?(:controller => 'unlocks') %>
<%= link_to t('devise.unlocks.unlock'), new_unlock_path(resource_name) %><br />
<% end -%>