diff options
author | Rajinder Yadav <devguy.ca@gmail.com> | 2010-11-09 05:05:56 -0500 |
---|---|---|
committer | Rajinder Yadav <devguy.ca@gmail.com> | 2010-11-09 05:05:56 -0500 |
commit | 5cdb46d9fb1d9afc72d9a2033d18897b6958154f (patch) | |
tree | 323c4a624ea67a74352b6421e1636329c70da032 /railties | |
parent | 4e074c7cc64a5f6d9f93f7782a0cdd1d50652403 (diff) | |
download | rails-5cdb46d9fb1d9afc72d9a2033d18897b6958154f.tar.gz rails-5cdb46d9fb1d9afc72d9a2033d18897b6958154f.tar.bz2 rails-5cdb46d9fb1d9afc72d9a2033d18897b6958154f.zip |
this reads better, i don't know what the other 'so on' are, doesn't help reader imho
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/form_helpers.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile index 52c8a752f6..514be33a40 100644 --- a/railties/guides/source/form_helpers.textile +++ b/railties/guides/source/form_helpers.textile @@ -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 +<input>+ 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 +<input>+ 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) %> |