Class: DatetimeInput

Inherits:
Object
  • Object
show all
Includes:
Formtastic::Inputs::Base, FormtasticBootstrap::Inputs::Base::Errors, FormtasticBootstrap::Inputs::Base::Hints, FormtasticBootstrap::Inputs::Base::Labelling, FormtasticBootstrap::Inputs::Base::Wrapping
Defined in:
app/inputs/datetime_input.rb

Direct Known Subclasses

DatetimeSelectInput

Instance Method Summary collapse

Instance Method Details

#to_htmlObject



8
9
10
11
12
# File 'app/inputs/datetime_input.rb', line 8

def to_html
  bootstrap_wrapping do      
     builder.datetime_select(method, {}, {:class => "datetime-selector"})
  end
end