Skip to content

Commit

Permalink
fix reopen radio buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
emilschn committed Nov 13, 2023
1 parent a9238bb commit bc4d99a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions templates/_partials/_modal_cloture.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@
</legend>
<div class="fr-fieldset__element">
<div class="fr-radio-group">
<input type="radio" id="publicSuivi-1" name="cloture[publicSuivi]" value="1" checked>
<label class="fr-label" for="publicSuivi-1">
<input type="radio" id="publicSuiviCloture-1" name="cloture[publicSuivi]" value="1" checked>
<label class="fr-label" for="publicSuiviCloture-1">
Oui
</label>
</div>
</div>
<div class="fr-fieldset__element">
<div class="fr-radio-group">
<input type="radio" id="publicSuivi-2" name="cloture[publicSuivi]" value="0">
<label class="fr-label" for="publicSuivi-2">
<input type="radio" id="publicSuiviCloture-2" name="cloture[publicSuivi]" value="0">
<label class="fr-label" for="publicSuiviCloture-2">
Non
</label>
</div>
Expand Down
12 changes: 6 additions & 6 deletions templates/_partials/_modal_reopen_signalement.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@
</div>

<div class="fr-modal__content fr-text--left">
<fieldset class="fr-fieldset" id="radio-hint" aria-labelledby="radio-hint-legend radio-hint-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="radio-hint-legend">
<fieldset class="fr-fieldset" id="radio-hint{% if all == '1' %}-all{% endif %}" aria-labelledby="radio-hint-legend{% if all == '1' %}-all{% endif %} radio-hint-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="radio-hint-legend{% if all == '1' %}-all{% endif %}">
Un suivi de ré-ouverture va être créé.
<br>
Souhaitez-vous qu'il soit partagé à l'usager ?
</legend>
<div class="fr-fieldset__element">
<div class="fr-radio-group">
<input type="radio" id="publicSuivi-1" name="publicSuivi" value="1" checked>
<label class="fr-label" for="publicSuivi-1">
<input type="radio" id="publicSuiviReopen-1{% if all == '1' %}-all{% endif %}" name="publicSuivi" value="1" checked>
<label class="fr-label" for="publicSuiviReopen-1{% if all == '1' %}-all{% endif %}">
Oui
</label>
</div>
</div>
<div class="fr-fieldset__element">
<div class="fr-radio-group">
<input type="radio" id="publicSuivi-2" name="publicSuivi" value="0">
<label class="fr-label" for="publicSuivi-2">
<input type="radio" id="publicSuiviReopen-2{% if all == '1' %}-all{% endif %}" name="publicSuivi" value="0">
<label class="fr-label" for="publicSuiviReopen-2{% if all == '1' %}-all{% endif %}">
Non
</label>
</div>
Expand Down

0 comments on commit bc4d99a

Please sign in to comment.