heartcombo--simple_form/lib/generators/simple_form/templates
Brian Alexander ff5435c645 document that hints are disabled by default 2012-11-04 14:16:49 -07:00
..
config document that hints are disabled by default 2012-11-04 14:16:49 -07: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|

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