Sha256: 91be13df9f4d72463ae385ef6faca648e993aa422fb8f7300934ad631b09488e

Contents?: true

Size: 519 Bytes

Versions: 31

Compression:

Stored size: 519 Bytes

Contents

# frozen_string_literal: true

module Koi
  module Navigation
    module Editor
      class ErrorsComponent < ViewComponent::Base
        include Katalyst::HtmlAttributes
        include Turbo::FramesHelper

        attr_reader :menu

        def initialize(menu:)
          super()

          @menu = menu
        end

        def id
          dom_id(menu, :errors)
        end

        def form_builder
          Koi::FormBuilder.new(menu.model_name.param_key, menu, self, {})
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
katalyst-koi-4.15.1 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.15.0 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.14.3 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.14.2 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.14.1 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.14.0 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.13.2 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.13.0 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.6 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.5 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.4 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.3 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.2 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.1 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.12.0 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.11.2 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.11.1 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.11.0 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.10.3 app/components/koi/navigation/editor/errors_component.rb
katalyst-koi-4.10.2 app/components/koi/navigation/editor/errors_component.rb