From 97f2c4129ae23ee074986a588628acc689a86462 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 19 Nov 2014 19:20:19 +1100 Subject: Add space in :start_year description for date_select --- actionview/lib/action_view/helpers/date_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib') diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb index 01a9747035..bd7b36c352 100644 --- a/actionview/lib/action_view/helpers/date_helper.rb +++ b/actionview/lib/action_view/helpers/date_helper.rb @@ -177,7 +177,7 @@ module ActionView # and +:name+ (string). A format string would be something like "%{name} (%02d)" for example. # See Kernel.sprintf for documentation on format sequences. # * :date_separator - Specifies a string to separate the date fields. Default is "" (i.e. nothing). - # * :start_year - Set the start year for the year select. Default is Date.today.year - 5if + # * :start_year - Set the start year for the year select. Default is Date.today.year - 5 if # you are creating new record. While editing existing record, :start_year defaults to # the current selected year minus 5. # * :end_year - Set the end year for the year select. Default is Date.today.year + 5 if -- cgit v1.2.3