Skip to content

Commit

Permalink
this reads better, i don't know what the other 'so on' are, doesn't h…
Browse files Browse the repository at this point in the history
…elp reader imho
  • Loading branch information
rajinder-yadav committed Nov 9, 2010
1 parent 4e074c7 commit 5cdb46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/form_helpers.textile
Expand Up @@ -107,7 +107,7 @@ WARNING: Do not delimit the second hash without doing so with the first hash, ot

h4. Helpers for Generating Form Elements

Rails provides a series of helpers for generating form elements such as checkboxes, text fields, radio buttons, and so on. These basic helpers, with names ending in <notextile>_tag</notextile> such as +text_field_tag+, +check_box_tag+, generate just a single +&lt;input&gt;+ element. The first parameter to these is always the name of the input. In the controller this name will be the key in the +params+ hash used to get the value entered by the user. For example, if the form contains
Rails provides a series of helpers for generating form elements such as checkboxes, text fields and radio buttons. These basic helpers, with names ending in <notextile>_tag</notextile> such as +text_field_tag+ and +check_box_tag+ generate just a single +&lt;input&gt;+ element. The first parameter to these is always the name of the input. In the controller this name will be the key in the +params+ hash used to get the value entered by the user. For example, if the form contains

<erb>
<%= text_field_tag(:query) %>
Expand Down

0 comments on commit 5cdb46d

Please sign in to comment.