class DateTimeInput < SimpleForm::Inputs::DateTimeInput def label_input content = "".html_safe [ :input, :error, :hint ].each do |component| next if options[component] == false rendered = send(component) content.safe_concat rendered.to_s if rendered end (options[:label] == false ? "" : label) + "
#{content}
".html_safe end def input_html_classes super.unshift("small") end end