You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
508 B

  1. %ul.no-list
  2. - if controller_name != 'profiles'
  3. %li= link_to t('settings.edit_profile'), settings_profile_path
  4. - if controller_name != 'preferences'
  5. %li= link_to t('settings.preferences'), settings_preferences_path
  6. - if controller_name != 'registrations'
  7. %li= link_to t('auth.change_password'), edit_user_registration_path
  8. - if controller_name != 'two_factor_auths'
  9. %li= link_to t('settings.two_factor_auth'), settings_two_factor_auth_path
  10. %li= link_to t('settings.back'), root_path