lib/voom/presenters/dsl/components/form.rb in voom-presenters-0.1.13 vs lib/voom/presenters/dsl/components/form.rb in voom-presenters-0.2.0

- old
+ new

@@ -1,20 +1,21 @@ -require_relative 'hidden_field' -require_relative 'text_field' -require_relative 'text_area' -require_relative 'mixins/event' -require_relative 'mixins/grids' -require_relative 'mixins/append' -require_relative 'mixins/text_fields' -require_relative 'mixins/selects' -require_relative 'mixins/buttons' -require_relative 'mixins/toggles' -require_relative 'mixins/attaches' -require_relative 'mixins/expansion_panels' -require_relative 'mixins/content' -require_relative 'mixins/typography' -require_relative 'mixins/date_time_fields' +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 @@ -28,9 +29,10 @@ include Mixins::Buttons include Mixins::Attaches include Mixins::ExpansionPanels include Mixins::Content include Mixins::Typography + include Mixins::FileInputs attr_reader :components, :shows_errors def initialize(**attribs_, &block) super(type: :form, **attribs_, &block)