%! from django.utils.translation import ugettext as _ %> <%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> <%namespace file='main.html' import="login_query"/> <%! from django.core.urlresolvers import reverse %> <%! from django.utils import html %> <%! from django_countries.countries import COUNTRIES %> <%! from student.models import UserProfile %> <%! from datetime import date %> <%! import calendar %> <%block name="pagetitle">${_("Preferences for {platform_name}").format(platform_name=settings.PLATFORM_NAME)}%block> <%block name="bodyclass">view-register%block> <%block name="js_extra"> %block> ${_("Welcome {username}! Please set your preferences below").format(username=extauth_id, platform_name=settings.PLATFORM_NAME)} <%block name="login_button">%block> ${_("We're sorry, {platform_name} enrollment is not available in your region").format(platform_name=settings.PLATFORM_NAME)} ${_("The following errors occurred while processing your registration:")} ${_('Required fields are noted by bold text and an asterisk (*).')} ${_('Required Information')} ${_("Enter a public username:")} ${_('Public Username')} ${_('Will be shown in any discussions or forums you participate in')} % if ask_for_email: ${_("E-mail")} % endif % if ask_for_fullname: ${_('Full Name')} % endif ${_("Account Acknowledgements")} % if ask_for_tos : ${_('I agree to the {link_start}Terms of Service{link_end}').format( link_start=''.format(url=marketing_link('TOS')), link_end='')} % endif <% ## 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') %> ${_('I agree to the {link_start}Honor Code{link_end}').format( link_start=''.format(url=honor_code_path), link_end='')} % if course_id and enrollment_action: % endif ${_('Submit')} + ${_('Update My Account')}
${_('Required fields are noted by bold text and an asterisk (*).')}
${_("Enter a public username:")}