heartcombo--simple_form/lib/generators/simple_form/templates
Ivan Schneider 2083ecc460 adding html5 component by default for the prepend and append wrappers as well - #471 2012-02-27 15:17:56 +01:00
..
config adding html5 component by default for the prepend and append wrappers as well - #471 2012-02-27 15:17:56 +01:00
README Add Twitter Bootstrap section in README and review the generator output 2012-01-30 14:22:00 -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://twitter.github.com/bootstrap.

  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|

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