Merge pull request #9981 from colinux/checkbox-mandatory-icon

ETQ usager je vois l'icône obligatoire pour une case à cocher obligatoire
This commit is contained in:
Colin Darie 2024-02-09 13:00:20 +00:00 committed by GitHub
commit 409069b59d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -127,6 +127,7 @@
&.editable-champ-checkbox {
label {
font-weight: normal;
gap: 0.25rem; // Space before mandatory icon because dsfr set display:flex on checkbox label
}
input[type=checkbox] {

View file

@ -1,5 +1,5 @@
= @champ.libelle
- if @champ.public? && !@champ.checkbox?
- if @champ.public?
- if @champ.mandatory?
= render EditableChamp::AsteriskMandatoryComponent.new
- else