{% extends "base.html" %} {% block js_media %} {% endblock %} {% block media %} {% endblock %} {% block header %} {% if data_form.instance.has_yml %}
[{{ _('View YAML') }}]
{% endif %} {% endblock %} {% block body %} {% if data_form.instance.feedback %} {% endif %}
{% csrf_token %} {{ cases_formset.management_form }} {{ data_form.as_table() }}
Problem type: Fill testcases
{% if cases_formset.can_delete %} {% endif %} {% for form in all_case_forms %} {% if form.non_field_errors() %} {% endif %} {% if form.prefix and '__prefix__' in form.prefix %} {% endif %} {{ form.input_file.errors }}{{ form.input_file }} {{ form.output_file.errors }}{{ form.output_file }} {% if cases_formset.can_delete %} {% endif %} {% endfor %}
{{ _('Type') }} {{ _('Input file') }} {{ _('Output file') }} {{ _('Points') }} {{ _('Pretest?') }}{{ _('Delete?') }}
{{ form.non_field_errors() }}
{{ _('Add new case') }}
{% endblock %}