Loading src/UnicaenAutoform/View/Helper/partial/input/select_text.phtml +6 −7 Changes for src/UnicaenAutoform/View/Helper/partial/input/select_text.phtml: 6 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $reponse = explode(':::', $reponse); <div class="row"> <div class="form-group col-md-12" style="display: block;"> <label for="<?php echo $champ->getId() ?>" class="control-label"> <?php echo $champ->getLibelle(); ?> : <strong><?php echo $champ->getLibelle(); ?> :</strong> </label> <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> Loading @@ -30,14 +30,13 @@ $reponse = explode(':::', $reponse); </div> </div> <div class="col-md-12"> <div id="text_complementaire_<?php echo $champ->getId() ?>" class="col-md-12" style="display:none"> <label for="text_complementaire_<?php echo $champ->getId() ?>"> <?php if(count($optionsAndLibelle) > 1): echo $optionsAndLibelle[1]; endif; ?> <?php if(count($optionsAndLibelle) > 1):?> <strong><?php echo $optionsAndLibelle[1];?></strong> <?php endif; ?> </label> <input class="form-control" type="text" id="text_complementaire_<?php echo $champ->getId() ?>" name="text_complementaire_<?php echo $champ->getId() ?>" style="display:none" <input class="form-control" type="text" name="text_complementaire_<?php echo $champ->getId() ?>" <?php if (isset($reponse[1])): ?> value="<?php echo trim($reponse); ?>" <?php else: ?> Loading Loading
src/UnicaenAutoform/View/Helper/partial/input/select_text.phtml +6 −7 Changes for src/UnicaenAutoform/View/Helper/partial/input/select_text.phtml: 6 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ $reponse = explode(':::', $reponse); <div class="row"> <div class="form-group col-md-12" style="display: block;"> <label for="<?php echo $champ->getId() ?>" class="control-label"> <?php echo $champ->getLibelle(); ?> : <strong><?php echo $champ->getLibelle(); ?> :</strong> </label> <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> Loading @@ -30,14 +30,13 @@ $reponse = explode(':::', $reponse); </div> </div> <div class="col-md-12"> <div id="text_complementaire_<?php echo $champ->getId() ?>" class="col-md-12" style="display:none"> <label for="text_complementaire_<?php echo $champ->getId() ?>"> <?php if(count($optionsAndLibelle) > 1): echo $optionsAndLibelle[1]; endif; ?> <?php if(count($optionsAndLibelle) > 1):?> <strong><?php echo $optionsAndLibelle[1];?></strong> <?php endif; ?> </label> <input class="form-control" type="text" id="text_complementaire_<?php echo $champ->getId() ?>" name="text_complementaire_<?php echo $champ->getId() ?>" style="display:none" <input class="form-control" type="text" name="text_complementaire_<?php echo $champ->getId() ?>" <?php if (isset($reponse[1])): ?> value="<?php echo trim($reponse); ?>" <?php else: ?> Loading