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

9 lines
227 B
Ruby
Raw Normal View History

2022-08-12 10:45:04 +02:00
class EditableChamp::ChampLabelComponent < ApplicationComponent
2023-05-05 09:13:05 +02:00
include Dsfr::InputErrorable
def initialize(form:, champ:, seen_at: nil)
@form, @champ, @seen_at = form, champ, seen_at
2023-05-05 09:13:05 +02:00
@attribute = :value
2022-08-12 10:45:04 +02:00
end
end