%inherit file="main.html" />
<%namespace name='static' file='static_content.html'/>
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
import third_party_auth
from third_party_auth import provider, pipeline
from microsite_configuration import microsite
%>
<%block name="pagetitle">${_("Log into your {platform_name} Account").format(platform_name=platform_name)}%block>
<%block name="bodyclass">view-login%block>
<%block name="js_extra">
%block>
<%include file="forgot_password_modal.html" />
${_("Please log in")}${_("to access your account and courses")}
% if third_party_auth.is_enabled():
## Developers: this is a sentence fragment, which is usually frowned upon. The design of the pags uses this fragment to provide an "else" clause underneath a number of choices. It's OK to leave it.
## Translators: this is the last choice of a number of choices of how to log in to the site.
${_('or')}
% for enabled in provider.Registry.enabled():
## Translators: provider_name is the name of an external, third-party user authentication provider (like Google or LinkedIn).
% endfor