reverse the years as they are displyed in the birthday dropdown

This commit is contained in:
maxwell 2010-11-08 10:30:01 -08:00
parent 80c8451bf2
commit 7e40558dc4
3 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@
- @resource.inviters.each do |inv|
- if @resource.invite_messages[inv.id.to_s]
= "#{inv.real_name}:"
= @resource.invite_messages[inv.id.to_s]
= "\"#{@resource.invite_messages[inv.id.to_s]}\""
%p
%p= link_to 'Accept invitation', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
%p.small

View file

@ -34,7 +34,7 @@
%h4
= t('.your_birthday')
%br
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 1930, :end_year => 2000
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930
%h4
= t('.your_bio')

View file

@ -25,11 +25,11 @@
%h4
Your birthday
%br
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 1930, :end_year => 2000
= select_date @person.profile.birthday, :prompt => true, :default => true, :order => [:month, :day, :year], :start_year => 2000, :end_year => 1930
%h4
Your bio
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => "Fill me out"
= profile.text_area :bio, :value => @profile.bio, :rows => 5, :placeholder => t(".fill_me_out")
%h4
Your photo