diff --git a/lms/templates/register-form.html b/lms/templates/register-form.html new file mode 100644 index 0000000000..5b30c723ae --- /dev/null +++ b/lms/templates/register-form.html @@ -0,0 +1,266 @@ +<%! +import third_party_auth +from third_party_auth import pipeline, provider +from django.utils.translation import ugettext as _ +from django_countries import countries +from student.models import UserProfile +%> +<%namespace file='main.html' import="stanford_theme_enabled"/> + + + + +
+ + + +% if third_party_auth.is_enabled(): + + % if not running_pipeline: + ++ ${_('Create your own {platform_name} account below').format(platform_name=platform_name)} + ${_('Required fields are noted by bold text and an asterisk (*).')} +
+ + + % 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)}
+ ${_("We just need a little more information before you start learning with {platform_name}.").format(platform_name=settings.PLATFORM_NAME)}
+
+ ${_("Please complete the following fields to register for an account. ")}
+ ${_('Required fields are noted by bold text and an asterisk (*).')}
+