Merge pull request #893 from morenoh149/master

Added a note on custom inputs
This commit is contained in:
Rafael Mendonça França 2013-09-24 19:24:49 -07:00
commit 50c4ac4a8b
1 changed files with 1 additions and 0 deletions

View File

@ -521,6 +521,7 @@ And use it in your views:
```ruby
f.input :money, as: :currency
```
Note, you may have to create the `app/inputs/` directory and restart your webserver.
You can also redefine existing **Simple Form** inputs by creating a new class with the same name. For
instance, if you want to wrap date/time/datetime in a div, you can do: