lib/voom/presenters/dsl/components/form.rb in voom-presenters-0.2.0 vs lib/voom/presenters/dsl/components/form.rb in voom-presenters-2.0.0
- old
+ new
@@ -1,22 +1,5 @@
-require 'voom/presenters/dsl/components/hidden_field'
-require 'voom/presenters/dsl/components/text_field'
-require 'voom/presenters/dsl/components/text_area'
-require 'voom/presenters/dsl/components/mixins/event'
-require 'voom/presenters/dsl/components/mixins/grids'
-require 'voom/presenters/dsl/components/mixins/append'
-require 'voom/presenters/dsl/components/mixins/text_fields'
-require 'voom/presenters/dsl/components/mixins/selects'
-require 'voom/presenters/dsl/components/mixins/buttons'
-require 'voom/presenters/dsl/components/mixins/toggles'
-require 'voom/presenters/dsl/components/mixins/attaches'
-require 'voom/presenters/dsl/components/mixins/expansion_panels'
-require 'voom/presenters/dsl/components/mixins/content'
-require 'voom/presenters/dsl/components/mixins/typography'
-require 'voom/presenters/dsl/components/mixins/date_time_fields'
-require 'voom/presenters/dsl/components/mixins/file_inputs'
-
module Voom
module Presenters
module DSL
module Components
class Form < EventBase
@@ -30,9 +13,11 @@
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)