Class: DatepickerInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
app/inputs/datepicker_input.rb

Instance Method Summary collapse

Instance Method Details

#inputObject



2
3
4
5
# File 'app/inputs/datepicker_input.rb', line 2

def input
  @builder.text_field(attribute_name, input_html_options) + \
  @builder.hidden_field(attribute_name, { :class => attribute_name.to_s + "-alt"}) 
end