aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-10-15 02:11:18 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-10-15 02:11:18 +0900
commit1ac2a2292f1010662f83906b97d046974409c948 (patch)
treefbcd709d696e1c31b21d50818b8694326671398f /guides
parent5668dc6b1863ef43be8f8ef0fb1d5db913085fb3 (diff)
downloadrails-1ac2a2292f1010662f83906b97d046974409c948.tar.gz
rails-1ac2a2292f1010662f83906b97d046974409c948.tar.bz2
rails-1ac2a2292f1010662f83906b97d046974409c948.zip
Add accept-charset to the output of form_with in JS guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/working_with_javascript_in_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/working_with_javascript_in_rails.md b/guides/source/working_with_javascript_in_rails.md
index 098366ec1b..b2716c7faa 100644
--- a/guides/source/working_with_javascript_in_rails.md
+++ b/guides/source/working_with_javascript_in_rails.md
@@ -174,7 +174,7 @@ passing the `:local` option `form_with`.
This will generate the following HTML:
```html
-<form action="/articles" method="post" data-remote="true">
+<form action="/articles" accept-charset="UTF-8" method="post" data-remote="true">
...
</form>
```