Commit cd85989d553de7c56b394969111ed6cba22b2c41

Authored by root
1 parent 90bea2b5

Correction formulaire d'envoi de donnees

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
site/capteurs.php
... ... @@ -22,7 +22,7 @@ $sensors = getSensors();
22 22 $count = $count +1;
23 23 ?>
24 24 <tr>
25   - <td><div class="form-check"><input class="form-check-input position-static" type="checkbox" name="sensor[<?php echo $count;?>]" id="sensor1" value="<?php echo $sensor['raspberry'].":".$sensor['numero'].":".$sensor['type'];?>" aria-label="..."></div>
  25 + <td><div class="form-check"><input class="form-check-input position-static" type="checkbox" name="sensor[<?php echo $count;?>]" id="sensor1" value="<?php echo $sensor['raspberry'].":".$sensor['numero'].":".$sensor['type'];?>" aria-label="..." required></div>
26 26 <td><?php echo $sensor['nom'];?></td>
27 27 <td><?php echo $sensor['raspberry'];?></td>
28 28 <td><?php echo $sensor['type'];?></td>
... ... @@ -39,7 +39,7 @@ $sensors = getSensors();
39 39  
40 40 <div class="form-group">
41 41 <label for="fichier">Charger un fichier</label>
42   - <input type="file" name="fichier" class="form-control-file" id="fichier">
  42 + <input type="file" name="fichier" class="form-control-file" id="fichier" required>
43 43 </div>
44 44  
45 45 </div>
... ...