Files
edx-platform/cms/templates/html_error.html

28 lines
711 B
HTML

<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%block name="bodyclass">error</%block>
<%block name="content">
<div class="wrapper wrapper-alert wrapper-alert-error is-shown">
<div class="error">
<div class="copy">
<h2 class="title">
<i class="icon-warning-sign"></i>
${_("We're having trouble rendering your component")}
</h2>
<p>You can try re-editing your component to check that your syntax is correct.</p>
% if message:
<p class="description">
${_("Error message:")}
${message | h}
</p>
% endif
</div>
</div>
</%block>