2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-08-12 10:45:04 +02:00
|
|
|
class EditableChamp::ChampLabelComponent < ApplicationComponent
|
2023-05-05 09:13:05 +02:00
|
|
|
include Dsfr::InputErrorable
|
|
|
|
|
2022-09-08 11:25:39 +02:00
|
|
|
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
|