Skip to content

Commit

Permalink
html generated for a search form
Browse files Browse the repository at this point in the history
There's a div that is generated in rails for a default search form and is not includen in the example.
  • Loading branch information
shernade committed Sep 9, 2013
1 parent be3b772 commit 1e667aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/form_helpers.md
Expand Up @@ -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: This will generate the following HTML:


```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> <label for="q">Search for:</label>
<input id="q" name="q" type="text" /> <input id="q" name="q" type="text" />
<input name="commit" type="submit" value="Search" /> <input name="commit" type="submit" value="Search" />
Expand Down

0 comments on commit 1e667aa

Please sign in to comment.