lib/generators/dry_crud/templates/app/helpers/standard_helper.rb
def add_css_class(options, classes)
    if options[:class]
      options[:class] += ' ' + classes
    else
      options[:class] = classes
    end
  end
# Adds a class to the given options, even if there are already classes.
Adds a class to the given options, even if there are already classes.
Adds a class to the given options even if there are already classes .
def add_css_class(options, classes)
    if options[:class]
      options[:class] += ' ' + classes
    else
      options[:class] = classes
    end
  end
def add_css_class ( options , classes ) if options [ :class ] options [ :class ] += ' ' + classes else options [ :class ] = classes end end
Adds a class to the given options, even if there are already classes.
Adds a class to the given options even if there are already classes .
options
classes