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:
commit
409069b59d
2 changed files with 2 additions and 1 deletions
|
@ -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] {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
= @champ.libelle
|
||||
- if @champ.public? && !@champ.checkbox?
|
||||
- if @champ.public?
|
||||
- if @champ.mandatory?
|
||||
= render EditableChamp::AsteriskMandatoryComponent.new
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue