datetime_local_field_tag

datetime_local_field_tag(name, value = nil, options = {})
Instance Public methods

Creates a text field of type âdatetime-localâ.

Options

  • :min - The minimum acceptable value.

  • :max - The maximum acceptable value.

  • :step - The acceptable value granularity.

  • Otherwise accepts the same options as text_field_tag.

doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.