Submit {% if problem is not null %}problem {{ problem.name }}{% endif %}
{% if current_team_contest is empty or (not is_granted('ROLE_JURY') and not current_team_contest.freezeData.started) %}
Contest has not yet started - cannot submit.
{% elseif not current_team_contest.allowSubmit %}
{% include 'partials/alert.html.twig' with {'type': 'danger', 'message': 'Submissions (temporarily) disabled.'} %}
{% else %} {{ form_start(form) }}
{{ form_row(form.code) }}
{{ form_row(form.problem) }} {{ form_row(form.language) }} {{ form_row(form.entry_point) }}
{{ form_end(form) }} {% endif %}