mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add space in :start_year description for date_select
This commit is contained in:
parent
644696e2ac
commit
97f2c4129a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue