1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-23 02:58:34 +09:00
YuruToot/app/views/auth/shared/_links.html.haml

13 lines
611 B
Plaintext
Raw Normal View History

%ul.no-list
- if controller_name != 'sessions'
2016-11-16 07:02:57 +09:00
%li= link_to t('auth.login'), new_session_path(resource_name)
- if devise_mapping.registerable? && controller_name != 'registrations'
2016-11-16 07:02:57 +09:00
%li= link_to t('auth.register'), new_registration_path(resource_name)
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
2016-11-16 07:02:57 +09:00
%li= link_to t('auth.forgot_password'), new_password_path(resource_name)
- if devise_mapping.confirmable? && controller_name != 'confirmations'
2016-11-16 07:02:57 +09:00
%li= link_to t('auth.didnt_get_confirmation'), new_confirmation_path(resource_name)