diff options
author | Ryan Bigg <radar@lifx.co> | 2014-11-19 19:20:19 +1100 |
---|---|---|
committer | Ryan Bigg <radar@lifx.co> | 2014-11-19 19:20:37 +1100 |
commit | 97f2c4129ae23ee074986a588628acc689a86462 (patch) | |
tree | 87b2d0cf3bf92cced6b614debd827c1b49272b00 /actionview/lib/action_view | |
parent | 644696e2ac04099623a0425016470cc5485e067b (diff) | |
download | rails-97f2c4129ae23ee074986a588628acc689a86462.tar.gz rails-97f2c4129ae23ee074986a588628acc689a86462.tar.bz2 rails-97f2c4129ae23ee074986a588628acc689a86462.zip |
Add space in :start_year description for date_select
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/date_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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} (%<number>02d)" for example. # See <tt>Kernel.sprintf</tt> for documentation on format sequences. # * <tt>:date_separator</tt> - Specifies a string to separate the date fields. Default is "" (i.e. nothing). - # * <tt>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt>if + # * <tt>:start_year</tt> - Set the start year for the year select. Default is <tt>Date.today.year - 5</tt> if # you are creating new record. While editing existing record, <tt>:start_year</tt> defaults to # the current selected year minus 5. # * <tt>:end_year</tt> - Set the end year for the year select. Default is <tt>Date.today.year + 5</tt> if |