demarches-normaliennes/app/components/dsfr/toggle_component.rb

10 lines
219 B
Ruby
Raw Normal View History

2023-04-24 15:16:04 +02:00
class Dsfr::ToggleComponent < ApplicationComponent
def initialize(form:, target:, title:, hint:, disabled:)
@form = form
@target = target
@title = title
@hint = hint
@disabled = disabled
end
end