mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
.. | ||
config | ||
_form.html.erb | ||
_form.html.haml | ||
_form.html.slim | ||
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| ===============================================================================