Parent

Class/Module Index [+]

Quicksearch

DateStringInput

Public Instance Methods

input_html_options() click to toggle source
# File app/inputs/date_string_input.rb, line 2
def input_html_options
        value = (@object.send(method.to_sym))
        super.merge(:class => "datetext", :onclick =>"beep", :value=>I18n.l((value.is_a?(Time)||value.is_a?(Date)||value.is_a?(DateTime)) ? value : Time.now))
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.