Commit 424fb998 authored by Florian Joriot's avatar Florian Joriot
Browse files

Modif select multiple (correction plusieurs texte complementaire)

parent 3690f78f
Loading
Loading
Loading
Loading
Loading
+4 −6
Changes for src/UnicaenAutoform/View/Helper/partial/input/select_text.phtml: 4 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -10,12 +10,11 @@ $options = explode(';', $champ->getOptions());
$reponse = explode(':::', $reponse);
?>
<div class="row">
    <div class="form-group" style="display: block;">
        <label for="<?php echo $champ->getId() ?>" class="col-sm-3 control-label">
    <div class="form-group col-md-12" style="display: block;">
        <label for="<?php echo $champ->getId() ?>" class="control-label">
            <?php echo $champ->getLibelle(); ?>&nbsp;:
        </label>
        <div class="col-sm-9">
            <select class="form-control" name="<?php echo $champ->getId(); ?>" id="<?php echo $champ->getId(); ?>" onchange="showComplement(this.value, this.name)">
        <select class="form-control col-md-12" name="<?php echo $champ->getId(); ?>" id="<?php echo $champ->getId(); ?>" onchange="showComplement(this.value, this.name)">
            <option value="null"></option>
            <?php foreach ($options as $option) : ?>
                <option id="<?php echo trim($option); ?>" value="<?php echo trim($option); ?>"
@@ -30,9 +29,8 @@ $reponse = explode(':::', $reponse);
        <br/>
    </div>
</div>
</div>

<div class="col-sm-9">
<div class="col-md-12">
    <input class="form-control" type="text"
           id="text_complementaire_<?php echo $champ->getId() ?>" name="text_complementaire_<?php echo $champ->getId() ?>" style="display:none"
        <?php if (isset($reponse[1])): ?>