aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-19 11:52:51 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-11-19 11:52:51 -0200
commit75cfca0521f4e7ba983b5d2f2f23b95870880ea4 (patch)
tree87b2d0cf3bf92cced6b614debd827c1b49272b00
parent644696e2ac04099623a0425016470cc5485e067b (diff)
parent97f2c4129ae23ee074986a588628acc689a86462 (diff)
downloadrails-75cfca0521f4e7ba983b5d2f2f23b95870880ea4.tar.gz
rails-75cfca0521f4e7ba983b5d2f2f23b95870880ea4.tar.bz2
rails-75cfca0521f4e7ba983b5d2f2f23b95870880ea4.zip
Merge pull request #17672 from radar/date-select-space
Add space in :start_year description for date_select
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb2
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