method

css_class_attribute

Importance_1
v5.0.0.1 - 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.