1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 02:20:29 +02:00

Possibilité de ne pas choisir de problème immédiatement

This commit is contained in:
Yohann
2019-10-04 21:41:12 +02:00
parent 1c33c84a3a
commit 7eba8b542b
7 changed files with 9 additions and 5 deletions

View File

@ -38,6 +38,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 (le problème peut-être choisi plus tard)</option>
<?php
for ($i = 1; $i <= 4; ++$i)
echo "<option value='$i' " . (isset($new_team) && $new_team->problem == $i ? "selected" : "") . ">$i</option>";