about summary refs log tree commit diff
path: root/app/views/auth/shared/_links.html.haml
blob: 08b38509272f1bac46290669edd0e3d73cdffde2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
%ul.no-list
  - if controller_name != 'sessions'
    %li= link_to t('auth.login'), new_session_path(resource_name)

  - if devise_mapping.registerable? && controller_name != 'registrations'
    %li= link_to t('auth.register'), new_registration_path(resource_name)

  - if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations'
    %li= link_to t('auth.forgot_password'), new_password_path(resource_name)

  - if devise_mapping.confirmable? && controller_name != 'confirmations'
    %li= link_to t('auth.didnt_get_confirmation'), new_confirmation_path(resource_name)