Added a note on custom inputs

added a note saying you may have to create the directory `apps/inputs/` and restart the webserver. I was stumped for a while on this.
This commit is contained in:
Harry Moreno 2013-09-24 18:12:09 -07:00
parent 028e762f00
commit 88987b0e42
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: