method

css_class_attribute

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::DateTimeSelector
css_class_attribute(type, html_options_class, options) private

Builds the CSS class value for the select element

css_class_attribute(:year, 'date optional', { year: 'my-year' })
=> "date optional my-year"
Show source
Register or log in to add new notes.