Skip to content

Commit

Permalink
Remove instruction to use form-inline class
Browse files Browse the repository at this point in the history
The previous instruction was a bit confusing, as form-inline is only one of the many possible classes that can be used. It’s also (probably) not the one that is most often used, so mentioning it in the installation output implies that it’s more significant than it actually is.

The sentence was also imperative:

	Inside your views, use the 'simple_form_for' with the Bootstrap form class, ‘.form-inline’
  • Loading branch information
goalaleo committed Feb 6, 2020
1 parent fa58cea commit 43b3573
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/generators/simple_form/templates/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Be sure to have a copy of the Bootstrap stylesheet available on your
application, you can get it on http://getbootstrap.com/.

Inside your views, use the 'simple_form_for' with the Bootstrap form
class, '.form-inline', as the following:
For usage examples and documentation, see:

= simple_form_for(@user, html: { class: 'form-inline' }) do |form|
http://simple-form-bootstrap.plataformatec.com.br/

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

0 comments on commit 43b3573

Please sign in to comment.