27 lines
700 B
HTML
27 lines
700 B
HTML
<%! from django.utils.translation import gettext as _ %>
|
|
<%! from django.urls import reverse %>
|
|
|
|
<%block name="content">
|
|
<div class="wrapper wrapper-alert wrapper-alert-error is-shown">
|
|
<div class="error">
|
|
|
|
<div class="copy">
|
|
<h2 class="title">
|
|
<span class="icon fa fa-warning" aria-hidden="true"></span>
|
|
${_("We're having trouble rendering your component")}
|
|
</h2>
|
|
|
|
<p>${_("Students will not be able to access this component. Re-edit your component to fix the error.")}</p>
|
|
|
|
% if message:
|
|
<p class="description">
|
|
${_("Error:")}
|
|
${message | h}
|
|
</p>
|
|
% endif
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</%block>
|