fix(Champ.rnf): add missing fr-input
dsfr class name
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
This commit is contained in:
parent
a052341c93
commit
b9907ac9ce
2 changed files with 4 additions and 1 deletions
|
@ -1,2 +1,5 @@
|
|||
class EditableChamp::RNFComponent < EditableChamp::EditableChampBaseComponent
|
||||
def dsfr_input_classname
|
||||
'fr-input'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
= @form.text_field :external_id, required: @champ.required?, class: "width-33-desktop fr-input small-margin", id: @champ.input_id
|
||||
= @form.text_field :external_id, input_opts(id: @champ.input_id, required: @champ.required?, class: "width-33-desktop fr-input small-margin", aria: { describedby: @champ.describedby_id })
|
||||
|
||||
.rnf-info{ id: dom_id(@champ, :rnf_info) }
|
||||
- if @champ.fetch_external_data_error?
|
||||
|
|
Loading…
Add table
Reference in a new issue