1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
heartcombo--simple_form/lib/generators/simple_form/templates
2012-03-16 15:43:26 -07:00
..
config Enhance description of config.error_method. 2012-03-16 15:43:26 -07: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 Add Twitter Bootstrap section in README and review the generator output 2012-01-30 14:22:00 -02:00

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

  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|

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