{% extends 'team/base.html.twig' %} {% block title %}Submit - {{ parent() }}{% endblock %} {% block content %}
{% if current_team_contest is not empty and not current_team_contest.allowSubmit %} {% include 'partials/alert.html.twig' with {'type': 'danger', 'message': 'Submissions (temporarily) disabled.'} %} {% else %}

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) %}
{% 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 %} {% endif %}
{% endblock %}