mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-27 01:18:38 +02:00
Possibilité de ne pas choisir de problème immédiatement
This commit is contained in:
@ -19,7 +19,8 @@ require_once "header.php";
|
||||
<strong>Trigramme :</strong> <?= $team->getTrigram() ?>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
<strong>Problème :</strong> <a href="/probleme/<?= $team->getProblem() ?>"><?= $team->getProblem() ?></a>
|
||||
<strong>Problème :</strong> <a href="/probleme/<?= $team->getProblem() ?>">
|
||||
<?= $team->getProblem() == 0 ? "Pas de problème choisi" : $team->getProblem() ?></a>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
<?php
|
||||
@ -80,6 +81,7 @@ require_once "header.php";
|
||||
<div class="form-group row">
|
||||
<label for="problem">Problème :</label>
|
||||
<select id="problem" name="problem" class="custom-select">
|
||||
<option value="0">Choisir un problème (peut être choisi plus tard)</option>
|
||||
<?php
|
||||
for ($i = 1; $i <= 4; ++$i)
|
||||
echo "<option value='$i' " . ($team->getProblem() == $i ? "selected" : "") . ">$i</option>";
|
||||
|
Reference in New Issue
Block a user