{% load i18n %}
{% blocktrans trimmed with error=testdef.data.expected_error %} This test is expected to fail on error "{{ error }}". Submitting the form will mark it as passing again. {% endblocktrans %}
{% elif mark_as_failing_form %}{% blocktrans trimmed with error=mark_as_failing_form.test_error %} If test should fail on error "{{ error }}", click button below. {% endblocktrans %}
{{ mark_as_failing_form.render|safe }} {% else %}{% trans "In order to mark test as failing, form must display exactly one error." %}
{% endif %}