2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-08-17 17:11:58 +02:00
|
|
|
module Dsfr
|
|
|
|
class InputStatusMessageComponent < ApplicationComponent
|
2024-04-09 16:19:54 +02:00
|
|
|
def initialize(errors_on_attribute:, error_full_messages:, describedby_id:, champ:)
|
2023-08-17 17:11:58 +02:00
|
|
|
@errors_on_attribute = errors_on_attribute
|
|
|
|
@error_full_messages = error_full_messages
|
2024-04-09 16:19:54 +02:00
|
|
|
@describedby_id = describedby_id
|
2024-04-08 16:36:37 +02:00
|
|
|
@champ = champ
|
2023-08-17 17:11:58 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|