{% extends "base.html" %}
{% load i18n crispy_forms_filters django_tables2 %}
{% block content %}
{% if form %}
{% if now < user.team.future_tournament.date_solutions %}
{% blocktrans with deadline=user.team.future_tournament.date_solutions %}You can upload your solutions until {{ deadline }}.{% endblocktrans %}
{% else %}
{% if now < real_deadline %}
{% trans "The deadline to send your solutions is reached. However, you have an extra time of 30 minutes to send your papers, no panic :)" %}
{% else %}
{% trans "You can't upload your solutions anymore." %}
{% endif %}