class Voom::Presenters::DSL::Components::Form
Attributes
components[R]
shows_errors[R]
Public Class Methods
new(**attribs_, &block)
click to toggle source
Calls superclass method
Voom::Presenters::DSL::Components::EventBase::new
# File lib/voom/presenters/dsl/components/form.rb, line 23 def initialize(**attribs_, &block) super(type: :form, **attribs_, &block) @shows_errors = attribs.delete(:shows_errors){true} @components = [] expand! end