Class: SimpleBootstrapForm::Fields::DatetimeField
- Defined in:
- lib/simple_bootstrap_form/fields/datetime_field.rb
Instance Method Summary collapse
Methods inherited from BaseField
Constructor Details
This class inherits a constructor from SimpleBootstrapForm::Fields::BaseField
Instance Method Details
#input_tag ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/simple_bootstrap_form/fields/datetime_field.rb', line 7 def input_tag @template.content_tag(:div, class: 'col-sm-6') do @template.content_tag :div, class: 'input-group' do @form_builder.text_field(@name, ) + calendar_icon end end end |