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:
parent
028e762f00
commit
88987b0e42
|
@ -521,6 +521,7 @@ And use it in your views:
|
||||||
```ruby
|
```ruby
|
||||||
f.input :money, as: :currency
|
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
|
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:
|
instance, if you want to wrap date/time/datetime in a div, you can do:
|
||||||
|
|
Loading…
Reference in New Issue