Remove fieldset without legend

This commit is contained in:
Corinne Durrmeyer 2024-09-25 19:05:14 +02:00
parent 0b081aea30
commit 2baf953cd0
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -46,7 +46,7 @@
%label.fr-label{ for: "identite_champ_radio_#{Individual::GENDER_MALE}" } %label.fr-label{ for: "identite_champ_radio_#{Individual::GENDER_MALE}" }
= Individual.human_attribute_name('gender.male') = Individual.human_attribute_name('gender.male')
.fr-fieldset__element.fr-mb-0 .fr-fieldset__element.fr-mb-0
%fieldset.fr-fieldset.width-100 .fr-fieldset.width-100
.fr-fieldset__element.fr-fieldset__element--short-text .fr-fieldset__element.fr-fieldset__element--short-text
= render Dsfr::InputComponent.new(form: individual, attribute: :prenom, opts: { autocomplete: (for_tiers? ? false : 'given-name') }) = render Dsfr::InputComponent.new(form: individual, attribute: :prenom, opts: { autocomplete: (for_tiers? ? false : 'given-name') })
.fr-fieldset__element.fr-fieldset__element--short-text .fr-fieldset__element.fr-fieldset__element--short-text