heartcombo--simple_form/lib/generators/simple_form/templates
Luiz HD Costa 8cbe943521 Allow not including input wrapper class
There could be faulty behavior when setting checkbox or radio class
to the input wrapper, as in Bootstrap 3.

Fixes #930
2013-11-26 21:01:16 -02:00
..
config Allow not including input wrapper class 2013-11-26 21:01:16 -02:00
README Update Bootstrap references URLs and name 2013-11-08 10:38:06 -02:00
_form.html.erb Change default generator classes to .form-inputs and .form-actions 2012-02-14 23:39:47 -02:00
_form.html.haml Change default generator classes to .form-inputs and .form-actions 2012-02-14 23:39:47 -02:00
_form.html.slim Change default generator classes to .form-inputs and .form-actions 2012-02-14 23:39:47 -02:00

README

===============================================================================

  Be sure to have a copy of the Bootstrap stylesheet available on your
  application, you can get it on http://getbootstrap.com/2.3.2/.

  Inside your views, use the 'simple_form_for' with one of the Bootstrap form
  classes, '.form-horizontal', '.form-inline', '.form-search' or
  '.form-vertical', as the following:

    = simple_form_for(@user, html: {class: 'form-horizontal' }) do |form|

===============================================================================