Sha256: 457b947ee76dd59b2119ddb81f74f2551ce61999c8fd31cc6131a4c1a35cc77d

Contents?: true

Size: 435 Bytes

Versions: 5

Compression:

Stored size: 435 Bytes

Contents

SimpleForm.setup do |config|
  config.wrappers :class => 'clearfix', :error_class => :error do |b|
    b.use :placeholder
    b.use :label
    b.use :tag => 'div', :class => 'input' do |ba|
      ba.use :input, :class => 'xxlarge'
      ba.use :hint,  :tag => :div, :class => 'help-block'
      ba.use :error, :tag => :span, :class => 'help-inline'
    end
  end

  config.browser_validations = true
  config.button_class = 'btn'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qwerty-0.0.7.pre config/initializers/simple_form.rb
qwerty-0.0.5.pre config/initializers/simple_form.rb
qwerty-0.0.4.pre config/initializers/simple_form.rb
qwerty-0.0.3.pre config/initializers/simple_form.rb
qwerty-0.0.1.pre config/initializers/simple_form.rb