{% extends "base.html" %} {% block js_media %} {% include 'fine_uploader/script.html' %} {% 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')}}
{{_("Batch start positions")}}:
{{_("Leave empty if not use batch. If you want to divide to three batches [1, 4], [5, 8], [9, 10], enter: 1, 5, 9")}}
{% 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 %}