Commit 0261c5e49a6bf1f6f985113ca660ac0d23e20be1
1 parent
cafd09d9
Exists in
master
and in
29 other branches
ActionItem916: better UI
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/helpers/dates_helper.rb
... | ... | @@ -87,7 +87,7 @@ module DatesHelper |
87 | 87 | end |
88 | 88 | |
89 | 89 | def pick_date(object, method, options = {}, html_options = {}) |
90 | - date_select(object, method, html_options.merge(options.merge(:use_month_names => MONTHS.map {|item| gettext(item)}))) | |
90 | + date_select(object, method, html_options.merge(options.merge(:include_blank => true, :use_month_names => MONTHS.map {|item| gettext(item)}))) | |
91 | 91 | end |
92 | 92 | |
93 | 93 | end | ... | ... |