aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorSergio <shernade@gmail.com>2013-09-09 17:30:09 +0200
committerSergio <shernade@gmail.com>2013-09-09 17:30:09 +0200
commit1e667aa5f4859431750940ee1a4663ee6c9fad7e (patch)
tree6976f894cc3b8d13e4a93d025e51749efa9fdb93 /guides
parentbe3b772bc6dbaec84cfd5cadb14288157db442b4 (diff)
downloadrails-1e667aa5f4859431750940ee1a4663ee6c9fad7e.tar.gz
rails-1e667aa5f4859431750940ee1a4663ee6c9fad7e.tar.bz2
rails-1e667aa5f4859431750940ee1a4663ee6c9fad7e.zip
html generated for a search form
There's a div that is generated in rails for a default search form and is not includen in the example.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index 578cfbe105..bf9bf4a47f 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -67,7 +67,7 @@ To create this form you will use `form_tag`, `label_tag`, `text_field_tag`, and
This will generate the following HTML:
```html
-<form accept-charset="UTF-8" action="/search" method="get">
+<form accept-charset="UTF-8" action="/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /></div>
<label for="q">Search for:</label>
<input id="q" name="q" type="text" />
<input name="commit" type="submit" value="Search" />