## mako <%page expression_filter="h"/> <%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %> <%inherit file="../main.html"/> <%block name="title"> ${_("Reset Your {platform_name} Password").format(platform_name=platform_name)} <%block name="bodyextra"> <%block name="bodyclass">view-passwordreset <%block name="body">

${_("Error Resetting Password")}

    % if err_msg:
  • ${err_msg}
  • % else:
  • ${_("You must enter and confirm your new password.")}
  • ${_("The text in both password fields must match.")}
  • % endif
% if validlink:

${_("Reset Your Password")}

${_("Enter and confirm your new password.")}

% else:

${_("Invalid Password Reset Link")}

    ${Text(_(( "This password reset link is invalid. It may have been used already. To reset your password, " "go to the {start_link}sign-in{end_link} page and select {start_strong}Forgot password{end_strong}." ))).format( start_link=HTML(''), end_link=HTML(''), start_strong=HTML(''), end_strong=HTML('') ) }
% endif