|
@ -359,12 +359,12 @@ if (!$isConfig and $hasSupplier) { |
|
|
<div class="row mb-3"> |
|
|
<div class="row mb-3"> |
|
|
<label for="title" class="col-sm-2 col-form-label">Choix</label> |
|
|
<label for="title" class="col-sm-2 col-form-label">Choix</label> |
|
|
<div class="col-sm-10"> |
|
|
<div class="col-sm-10"> |
|
|
<select class="form-select" name="choice" required> |
|
|
|
|
|
<option/> |
|
|
|
|
|
<?php foreach ($config[$supplier]['choices'] as $choice) : ?>
|
|
|
|
|
|
<option><?php echo $choice; ?></option>
|
|
|
|
|
|
|
|
|
<div class="btn-group" role="group"> |
|
|
|
|
|
<?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; ?>" /> |
|
|
|
|
|
<label class="btn btn-outline-secondary" for="<?php printf('option%d', $index); ?>"><?php echo $choice; ?></label>
|
|
|
<?php endforeach; ?>
|
|
|
<?php endforeach; ?>
|
|
|
</select> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<?php endif; ?>
|
|
|
<?php endif; ?>
|
|
|