diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-25 23:56:37 +0000 |
---|---|---|
committer | Frederick Cheung <frederick.cheung@gmail.com> | 2009-01-25 23:59:31 +0000 |
commit | 893d053fce216cb117cfd9f98c8e583a39803161 (patch) | |
tree | e3dba8c92049adcfcc26ce57ed6e65a4aef212c4 /railties/doc | |
parent | b3fd79d82d6c8124a62dbfc3c100d755fc2a4cd6 (diff) | |
download | rails-893d053fce216cb117cfd9f98c8e583a39803161.tar.gz rails-893d053fce216cb117cfd9f98c8e583a39803161.tar.bz2 rails-893d053fce216cb117cfd9f98c8e583a39803161.zip |
no to excessive capitalisation
Diffstat (limited to 'railties/doc')
-rw-r--r-- | railties/doc/guides/source/form_helpers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/form_helpers.txt b/railties/doc/guides/source/form_helpers.txt index 9c965c2a7d..4e71753c77 100644 --- a/railties/doc/guides/source/form_helpers.txt +++ b/railties/doc/guides/source/form_helpers.txt @@ -547,7 +547,7 @@ As a rule of thumb you should be using `date_select` when working with model obj NOTE: In many cases the built in date pickers are clumsy as they do not aid the user in working out the relationship between the date and the day of the week. -Individual Components +Individual components ~~~~~~~~~~~~~~~~~~~~~ Occasionally you need to display just a single date component such as a year or a month. Rails provides a series of helpers for this, one for each component `select_year`, `select_month`, `select_day`, `select_hour`, `select_minute`, `select_second`. These helpers are fairly straightforward. By default they will generate a input named after the time component (for example "year" for `select_year`, "month" for `select_month` etc.) although this can be overriden with the `:field_name` option. The `:prefix` option works in the same way that it does for `select_date` and `select_time` and has the same default value. |