Loading src/UnicaenAutoform/View/Helper/ChampAsResultHelper.php +2 −2 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ class ChampAsResultHelper extends AbstractHelper static public function render_checkbox(Champ $champ, ?string $reponse, bool $displayLibelle=true): string { $texte = "<div data-champ-type='" . Champ::TYPE_CHECKBOX . "' data-empty='false'>"; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> "; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> "; $texte .= ($reponse === null)?"Non":"Oui"; $texte .= "</div>"; return $texte; Loading Loading @@ -187,7 +187,7 @@ class ChampAsResultHelper extends AbstractHelper static public function render_periode(Champ $champ, ?string $reponse, bool $displayLibelle=true): string { $texte = "<div data-champ-type='" . Champ::TYPE_PERIODE . "' data-empty='false'>"; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> "; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> "; $texte .= $reponse; $texte .= "</div>"; return $texte; Loading Loading
src/UnicaenAutoform/View/Helper/ChampAsResultHelper.php +2 −2 Original line number Diff line number Diff line Loading @@ -122,7 +122,7 @@ class ChampAsResultHelper extends AbstractHelper static public function render_checkbox(Champ $champ, ?string $reponse, bool $displayLibelle=true): string { $texte = "<div data-champ-type='" . Champ::TYPE_CHECKBOX . "' data-empty='false'>"; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> "; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> "; $texte .= ($reponse === null)?"Non":"Oui"; $texte .= "</div>"; return $texte; Loading Loading @@ -187,7 +187,7 @@ class ChampAsResultHelper extends AbstractHelper static public function render_periode(Champ $champ, ?string $reponse, bool $displayLibelle=true): string { $texte = "<div data-champ-type='" . Champ::TYPE_PERIODE . "' data-empty='false'>"; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " ?</span> "; if ($displayLibelle) $texte .= "<span class='input-libelle' >" . $champ->getLibelle() . " :</span> "; $texte .= $reponse; $texte .= "</div>"; return $texte; Loading