Permalink
Browse files

no to excessive capitalisation

  • Loading branch information...
1 parent b3fd79d commit 893d053fce216cb117cfd9f98c8e583a39803161 @fcheung fcheung committed Jan 25, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 893d053

Please sign in to comment.