module Voom::Presenters::DSL::Components::Mixins::TextFields

Public Instance Methods

hidden_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/text_fields.rb, line 17
def hidden_field(**attribs, &block)
  self << Components::HiddenField.new(parent: self,
                                      **attribs, &block)
end
number_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/text_fields.rb, line 27
def number_field(**attribs, &block)
  self << Components::NumberField.new(parent: self,
                                       **attribs, &block)
end
rich_text_area(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/text_fields.rb, line 22
def rich_text_area(**attribs, &block)
  self << Components::RichTextArea.new(parent: self,
                                       **attribs, &block)
end
text_area(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/text_fields.rb, line 12
def text_area(**attribs, &block)
  self << Components::TextArea.new(parent: self,
                                   **attribs, &block)
end
text_field(**attribs, &block) click to toggle source
# File lib/voom/presenters/dsl/components/mixins/text_fields.rb, line 7
def text_field(**attribs, &block)
  self << Components::TextField.new(parent: self,
                                    **attribs, &block)
end