method

css_class_attribute

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: ActionView::Helpers
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.