Skip to content

Commit a9f046b

Browse files
committed
doc how to use params with simple form
1 parent 57053b9 commit a9f046b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ There is `simple_form` input which you can apply via `as: :wysihtml5` option.
9696
```erb
9797
<%= f.input :content, as: :wysihtml5 %>
9898
```
99+
Or with [bootstrap3-wysiwyg](https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg#options) options
100+
101+
```erb
102+
<%= f.input :content, as: :wysihtml5, wysihtml5: { locale: "es-ES" } %>
103+
```
99104

100105
## If using Turbolinks
101106

0 commit comments

Comments
 (0)