diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-16 22:12:41 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-16 23:22:50 +0530 |
commit | 27f1320fde03279c575693f504897f1a6171bc59 (patch) | |
tree | 0385edc63d63eeee990e036aba19217cb01c55c5 /railties/guides/source/action_view_overview.textile | |
parent | 8411f631c42de7d6f51d10d997b037b9eff0d1f1 (diff) | |
download | rails-27f1320fde03279c575693f504897f1a6171bc59.tar.gz rails-27f1320fde03279c575693f504897f1a6171bc59.tar.bz2 rails-27f1320fde03279c575693f504897f1a6171bc59.zip |
Fixing incorrect notextile tags
Diffstat (limited to 'railties/guides/source/action_view_overview.textile')
-rw-r--r-- | railties/guides/source/action_view_overview.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile index 87250c684b..40cde6ad84 100644 --- a/railties/guides/source/action_view_overview.textile +++ b/railties/guides/source/action_view_overview.textile @@ -898,7 +898,7 @@ h5. select_year Returns a select tag with options for each of the five years on each side of the current, which is selected. The five year radius can be changed using the +:start_year+ and +:end_year+ keys in the +options+. <ruby> -# Generates a select field for five years on either side of +Date.today+ that defaults to the current year +# Generates a select field for five years on either side of Date.today that defaults to the current year select_year(Date.today) # Generates a select field from 1900 to 2009 that defaults to the current year |