1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 21:40:30 +02:00

Impossible d'affecter aux équipes des vidéos une fois la phase 2 débutée

This commit is contained in:
galaxyoyo
2019-09-27 19:22:33 +02:00
parent 8df4c71119
commit b4da04a29e
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if ($_SESSION["role"] == Role::ADMIN) { ?>
<label for="other_teams">L'équipe va recevoir les questions des équipes suivantes (merci d'en
sélectionner
exactement 2) :</label>
<select class="custom-select" id="other_teams" name="other_teams[]" multiple <?= Phase::getCurrentPhase() >= Phase::PHASE2 ? "disable" : "" ?>>
<select class="custom-select" id="other_teams" name="other_teams[]" multiple <?= Phase::getCurrentPhase() >= Phase::PHASE2 ? "disabled" : "" ?>>
<?php
/** @var Team $other_team */
foreach ($other_teams as $other_team) {