Class: SimpleBootstrapForm::Fields::TextareaField

Inherits:
BaseField
  • Object
show all
Defined in:
lib/simple_bootstrap_form/fields/textarea_field.rb

Instance Method Summary collapse

Methods inherited from BaseField

#initialize, #to_s

Constructor Details

This class inherits a constructor from SimpleBootstrapForm::Fields::BaseField

Instance Method Details

#input_tagObject



5
6
7
8
9
# File 'lib/simple_bootstrap_form/fields/textarea_field.rb', line 5

def input_tag
  @template.(:div, class: 'col-sm-6') do
    @form_builder.text_area @name, input_options
  end
end