Merge pull request #9263 from mfo/US/flip-optional-text
amelioration(admin): ETQ admin, je peux de desactiver le suffix "facultatif" sur les labels des champs non obligatoires (demander au support)
This commit is contained in:
commit
f3922c7e39
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
- if @champ.public? && !@champ.checkbox?
|
||||
- if @champ.mandatory?
|
||||
= render EditableChamp::AsteriskMandatoryComponent.new
|
||||
- elsif @champ.dossier.procedure.feature_enabled?(:disable_label_optional_champ_2023_06_29)
|
||||
-# noop here, allow admin to disable the optional_champ
|
||||
- else
|
||||
= "#{t('.optional_champ')}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue