fix(Champs::Civilite): fix dsfr missing red feedback, add green feedback
This commit is contained in:
parent
9280ccc23d
commit
0519dece96
3 changed files with 18 additions and 13 deletions
|
@ -1,6 +1,10 @@
|
|||
class Champs::CiviliteChamp < Champ
|
||||
validates :value, inclusion: ["M.", "Mme"], allow_nil: true, allow_blank: false
|
||||
|
||||
def legend_label?
|
||||
true
|
||||
end
|
||||
|
||||
def html_label?
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue