Update checker sample

This commit is contained in:
cuom1999 2022-06-17 21:37:13 +07:00
parent df1b721968
commit cd5672abf0
3 changed files with 48 additions and 49 deletions

View file

@ -13,6 +13,6 @@
{% if request.profile.id in submission.problem.editor_ids or perms.judge.edit_all_problem %}
<hr style="float:left;width:30%"><br>
<h4>{{ _('Error information') }}</h4>
<pre><code>{{ submission.error|highlight('pytb') }}</code></pre>
<code>{{ submission.error|highlight('pytb', linenos=False) }}</code>
{% endif %}
{% endif %}