1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-01-05 23:42:21 +00:00

Il n'est pas possible de changer le problème d'une équipe déjà validée

This commit is contained in:
Yohann 2019-10-09 00:53:23 +02:00
parent e07c4df13b
commit 2f9e1cc452

View File

@ -11,7 +11,7 @@
<strong>Trigramme :</strong> <?= $team->getTrigram() ?>
</div>
<div class="alert alert-info">
<?php if (date("Y-m-d H:i:s") < $CONFIG->getInscriptionDate()) { ?>
<?php if (date("Y-m-d H:i:s") < $CONFIG->getInscriptionDate() && $team->getValidationStatus() == ValidationStatus::NOT_READY) { ?>
<label for="problem">Problème :</label>
<form method="POST">
<select class="custom-select" id="problem" name="select_problem" onchange="this.form.submit()">