2016-03-05 23:43:05 +02:00
|
|
|
%ul.no-list
|
|
|
|
- if controller_name != 'sessions'
|
2016-11-16 00:02:57 +02:00
|
|
|
%li= link_to t('auth.login'), new_session_path(resource_name)
|
2016-03-05 23:43:05 +02:00
|
|
|
|
|
|
|
- if devise_mapping.registerable? && controller_name != 'registrations'
|
2018-08-23 20:11:41 +03:00
|
|
|
%li= link_to t('auth.register'), open_registrations? ? new_registration_path(resource_name) : 'https://joinmastodon.org/#getting-started'
|
2016-03-05 23:43:05 +02:00
|
|
|
|
|
|
|
- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
|
2016-11-16 00:02:57 +02:00
|
|
|
%li= link_to t('auth.forgot_password'), new_password_path(resource_name)
|
2016-03-05 23:43:05 +02:00
|
|
|
|
|
|
|
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
2016-11-16 00:02:57 +02:00
|
|
|
%li= link_to t('auth.didnt_get_confirmation'), new_confirmation_path(resource_name)
|