# File lib/simple_form/action_view_extensions/form_helper.rb, line 44
      def css_class(record, html_options)
        if html_options.key?(:class)
          html_options[:class]
        elsif record.is_a?(String) || record.is_a?(Symbol)
          record
        else
          record = record.last if record.is_a?(Array)
          dom_class(record)
        end
      end