Class: HourFieldInput

Inherits:
Formtastic::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/hour_field_input.rb

Instance Method Summary collapse

Instance Method Details

#input_html_optionsObject



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

def input_html_options
  super.merge(:class => "#{super[:class]} hasCheckHours", :alt => 'time', 'data-check-hours' => true)
end