demarches-normaliennes/app/components/dsfr/input_status_message_component.rb
2024-08-22 09:26:48 +02:00

12 lines
366 B
Ruby

# frozen_string_literal: true
module Dsfr
class InputStatusMessageComponent < ApplicationComponent
def initialize(errors_on_attribute:, error_full_messages:, describedby_id:, champ:)
@errors_on_attribute = errors_on_attribute
@error_full_messages = error_full_messages
@describedby_id = describedby_id
@champ = champ
end
end
end