Browse Source

rend les options obligatoires côté client

master
vince vince 2 years ago
parent
commit
c6245ef5c9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      index.php

+ 1
- 1
index.php View File

@ -599,7 +599,7 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier)
<div class="col-sm-10"> <div class="col-sm-10">
<div class="btn-group" role="group"> <div class="btn-group" role="group">
<?php foreach ($config[$supplier]['choices'] as $index => $choice) : ?> <?php foreach ($config[$supplier]['choices'] as $index => $choice) : ?>
<input type="radio" class="btn-check" id="<?php printf('option%d', $index); ?>" autocomplete="off" name="choice" value="<?php echo $choice; ?>" />
<input type="radio" class="btn-check" id="<?php printf('option%d', $index); ?>" autocomplete="off" name="choice" value="<?php echo $choice; ?>" required />
<label class="btn btn-outline-light" for="<?php printf('option%d', $index); ?>"><?php echo $choice; ?></label> <label class="btn btn-outline-light" for="<?php printf('option%d', $index); ?>"><?php echo $choice; ?></label>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>


Loading…
Cancel
Save