demarches-normaliennes/app/components/procedure/fixed_footer_component.rb

13 lines
377 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2024-05-27 17:56:05 +02:00
class Procedure::FixedFooterComponent < ApplicationComponent
def initialize(procedure:, form: nil, is_form_disabled: nil, extra_class_names: nil)
@procedure = procedure
@form = form
@is_form_disabled = is_form_disabled
@extra_class_names = extra_class_names
end
attr_reader :form, :is_form_disabled, :extra_class_names
end