demarches-normaliennes/app/components/editable_champ/champ_label_component.rb
2023-07-26 14:27:50 +02:00

8 lines
227 B
Ruby

class EditableChamp::ChampLabelComponent < ApplicationComponent
include Dsfr::InputErrorable
def initialize(form:, champ:, seen_at: nil)
@form, @champ, @seen_at = form, champ, seen_at
@attribute = :value
end
end