Sha256: 513c96c40c1355949118fa7b01ad2982ed0028712abde9fe20355d8c72a93984

Contents?: true

Size: 430 Bytes

Versions: 17

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

module Katalyst
  module Navigation
    module Editor
      class Errors < Base
        def build(**options)
          turbo_frame_tag dom_id(menu, :errors) do
            form_builder.govuk_error_summary(**options)
          end
        end

        private

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
katalyst-koi-4.3.3 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.3.2 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.3.1 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.3.0 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.3.0.beta.3 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.3.0.beta.2 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.2.1 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.2.0 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.2.0.beta.2 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.2.0.beta.1 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.1.2 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.1.1 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.1.0 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.0.3 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.0.2 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.0.1 app/helpers/katalyst/navigation/editor/errors.rb
katalyst-koi-4.0.0 app/helpers/katalyst/navigation/editor/errors.rb