{% extends "base.html" %} {% block js_media %} {% compress js %} {{ form.media.js }} {% endcompress %} {% endblock %} {% block media %} {% compress css %} {{ form.media.css }} {% endcompress %} {% endblock %} {% block body %}
{% if not no_judges %} {% if default_lang not in form.fields.language.queryset %}
x {% trans trimmed default_language=default_lang.name %} Warning! Your default language, {{ default_language }}, is unavailable for this problem and has been deselected. {% endtrans %}
{% endif %} {% if request.in_contest and submission_limit %} {% if submissions_left > 0 %}
x {% trans left=submissions_left %} You have {{ left }} submission left {% pluralize %} You have {{ left }} submissions left {% endtrans %}
{% else %}
x {{ _('You have 0 submissions left') }}
{% endif %} {% endif %} {% endif %}
{% csrf_token %} {{ form.non_field_errors() }}
{{ form.problem.errors }} {{ form.problem }}
{{ form.source.errors }} {{ form.source }}
{% if not no_judges %}
{{ form.language.errors }}
{% endif %}

{% if no_judges %} {{ _('No judge is available for this problem.') }} {% else %} {% endif %}
{% endblock %}