Browse files

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.
  • Loading branch information...
1 parent be3b772 commit 1e667aa5f4859431750940ee1a4663ee6c9fad7e @shernade shernade committed Sep 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
2 guides/source/
@@ -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:
-<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" />

0 comments on commit 1e667aa

Please sign in to comment.