Sha256: 76729626a68b17034c9c87de9b5e75ec1a81aa4af8c0e5c9c6c4c3fd035905f7
Contents?: true
Size: 912 Bytes
Versions: 6
Compression:
Stored size: 912 Bytes
Contents
module Voom module Presenters module DSL module Components class Form < EventBase include Mixins::Append include Mixins::Grids include Mixins::TextFields include Mixins::DateTimeFields include Mixins::Selects include Mixins::Toggles include Mixins::Buttons include Mixins::Attaches include Mixins::ExpansionPanels include Mixins::Content include Mixins::Typography include Mixins::FileInputs include Mixins::Images include Mixins::Tables attr_reader :components, :shows_errors def initialize(**attribs_, &block) super(type: :form, **attribs_, &block) @shows_errors = attribs.delete(:shows_errors){true} @components = [] expand! end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems