demarches-normaliennes/app/components/editable_champ/repetition_component.rb

10 lines
301 B
Ruby
Raw Normal View History

class EditableChamp::RepetitionComponent < EditableChamp::EditableChampBaseComponent
def legend_params
@champ.description.present? ? { describedby: dom_id(@champ, :repetition) } : {}
end
def notice_params
@champ.description.present? ? { id: dom_id(@champ, :repetition) } : {}
end
2022-08-12 10:45:04 +02:00
end