Commit 0261c5e49a6bf1f6f985113ca660ac0d23e20be1

Authored by Antonio Terceiro
1 parent cafd09d9

ActionItem916: better UI

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
... ...
public/stylesheets/person_data.css
... ... @@ -8,7 +8,7 @@
8 8 width: 108px;
9 9 }
10 10  
11   -#profile-data .select-birth-date select {
12   - width: 70px;
  11 +#profile-data .select-birth-date select#profile_data_birth_date_3i {
  12 + width: 47px;
13 13 }
14 14  
... ...