module FormtasticBootstrap::Inputs::Base::Html

Public Instance Methods

input_html_options() click to toggle source
Calls superclass method
# File lib/formtastic-bootstrap/inputs/base/html.rb, line 8
def input_html_options
  if errors?
    { 
      :class => "error"
    }.merge(super)
  else
    super
  end
end