% if settings.FEATURES.get('ENABLE_THIRD_PARTY_AUTH'): % if not running_pipeline:

${_("Register to start learning today!")}

% for enabled in provider.Registry.enabled(): ## Translators: provider_name is the name of an external, third-party user authentication service (like Google or LinkedIn). % endfor

${_('or create your own {platform_name} account by completing all required* fields below.').format(platform_name=platform_name)}

% else:

## Translators: selected_provider is the name of an external, third-party user authentication service (like Google or LinkedIn). ${_("You've successfully signed in with {selected_provider}.").format(selected_provider='%s' % selected_provider)}
${_("Finish your account registration below to start learning.")}

% endif % else:

${_("Please complete the following fields to register for an account. ")}
${_('Required fields are noted by bold text and an asterisk (*).')}

% endif

${_('Required Information')}

% if has_extauth_info is UNDEFINED:
  1. ${_("Needed for any certificates you may earn")}
  2. ${_('Will be shown in any discussions or forums you participate in')} (${_('cannot be changed later')})
  3. % if settings.FEATURES.get('ENABLE_THIRD_PARTY_AUTH') and running_pipeline: % else:
  4. % endif
% else:

${_("Welcome {username}").format(username=extauth_id)}

${_("Enter a Public Display Name:")}

    % if ask_for_email:
  1. % endif
  2. ${_('Will be shown in any discussions or forums you participate in')} (${_('cannot be changed later')})
  3. % if ask_for_fullname:
  4. ${_("Needed for any certificates you may earn")}
  5. % endif
% endif

${_("Extra Personal Information")}

    % if settings.REGISTRATION_EXTRA_FIELDS['city'] != 'hidden':
  1. % endif % if settings.REGISTRATION_EXTRA_FIELDS['country'] != 'hidden':
  2. % endif % if settings.REGISTRATION_EXTRA_FIELDS['level_of_education'] != 'hidden':
  3. % endif % if settings.REGISTRATION_EXTRA_FIELDS['gender'] != 'hidden':
  4. % endif % if settings.REGISTRATION_EXTRA_FIELDS['year_of_birth'] != 'hidden':
  5. % endif

${_("Extra Personal Information")}

    % if settings.REGISTRATION_EXTRA_FIELDS['mailing_address'] != 'hidden':
  1. % endif % if settings.REGISTRATION_EXTRA_FIELDS['goals'] != 'hidden':
  2. % endif

${_("Account Acknowledgements")}

  1. % if has_extauth_info is UNDEFINED or ask_for_tos :
    % endif % if settings.REGISTRATION_EXTRA_FIELDS['honor_code'] != 'hidden':
    <% ## TODO: provide a better way to override these links if self.stanford_theme_enabled(): honor_code_path = marketing_link('TOS') + "#honor" else: honor_code_path = marketing_link('HONOR') %>
    % endif
% if course_id and enrollment_action: % endif