<%= nav_sidebar( :settings, tab, profile: [ policy(%i[settings profile]).edit?, edit_settings_profile_path, ], credentials: [ policy(%i[users registration]).edit?, edit_user_registration_path, ], person: [ policy(%i[settings person]).show?, settings_person_path, ], contacts: [ policy(%i[settings contact]).index?, settings_contacts_path, ], sessions: [ policy(%i[settings session]).index?, settings_sessions_path, ], ) %>