Files
edx-platform/lms/templates/email_exists.html
Adeel Khan 30d8dfb5dd Fix edx-platform templates for xss.
This is part 2 of a multiple PR to escape
edx-platform templates to prevent xss attack.

PROD-465
2019-07-10 13:31:02 +05:00

21 lines
589 B
HTML

<%page expression_filter="h"/>
<%! from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML, Text
%>
<%inherit file="main.html" />
<section class="container activation">
<section class="message">
<h1 class="invalid">${_("E-mail change failed")}</h1>
<hr class="horizontal-divider">
<p>${_("An account with the new e-mail address already exists.")}</p>
<p>${Text(_("Go back to the {link_start}home page{link_end}.")).format(
link_start=HTML('<a href="/">'),
link_end=HTML('</a>'))}</p>
</section>
</section>