class SimpleForm::Inputs::Base

def html_options_for(namespace, css_classes)

Retrieve options for the given namespace from the options hash
def html_options_for(namespace, css_classes)
  html_options = options[:"#{namespace}_html"] || {}
  css_classes << html_options[:class] if html_options.key?(:class)
  html_options[:class] = css_classes
  html_options
end