{{-- Choix unique presente en cartes (voir contrat : name="reponses[]"). --}} @php $cle = $champ['cle'] ?? ''; $valeur = old("reponses.{$cle}"); $aErreur = $errors->has("reponses.{$cle}"); @endphp
{{ $champ['label'] ?? $cle }}@if ($champ['obligatoire'] ?? false) *@endif
@foreach ((array) ($champ['options'] ?? []) as $index => $option) @endforeach
@if (! empty($champ['aide'])) {{ $champ['aide'] }} @endif @error("reponses.{$cle}"){{ $message }}@enderror