# This is for a field which occupied a single row and label is in stacked mode
config.wrappers :full_row_stacked, :class => "row", :error_class => :error do |b|
b.use :tag => "div", :class => "field-stacked" do |field|
field.use :placeholder
field.use :label
field.use :tag => 'div', :class => 'input' do |ba|
ba.use :input
ba.use :hoverhint
ba.use :error, :tag => :span, :class => :'help-inline'
end
end
end
# Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
config.components = [ :placeholder, :label_input, :error, :hint ]
config.hint_class = "help-block"
config.error_class = "help-inline"
config.wrapper_class = nil
config.wrapper_error_class = :error
end