reverse the years as they are displyed in the birthday dropdown
This commit is contained in:
parent
80c8451bf2
commit
7e40558dc4
3 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@
|
||||||
- @resource.inviters.each do |inv|
|
- @resource.inviters.each do |inv|
|
||||||
- if @resource.invite_messages[inv.id.to_s]
|
- if @resource.invite_messages[inv.id.to_s]
|
||||||
= "#{inv.real_name}:"
|
= "#{inv.real_name}:"
|
||||||
= @resource.invite_messages[inv.id.to_s]
|
= "\"#{@resource.invite_messages[inv.id.to_s]}\""
|
||||||
%p
|
%p
|
||||||
%p= link_to 'Accept invitation', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
%p= link_to 'Accept invitation', accept_invitation_url(@resource, :invitation_token => @resource.invitation_token), :class => "large_text"
|
||||||
%p.small
|
%p.small
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
%h4
|
%h4
|
||||||
= t('.your_birthday')
|
= t('.your_birthday')
|
||||||
%br
|
%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
|
%h4
|
||||||
= t('.your_bio')
|
= t('.your_bio')
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,11 @@
|
||||||
%h4
|
%h4
|
||||||
Your birthday
|
Your birthday
|
||||||
%br
|
%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
|
%h4
|
||||||
Your bio
|
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
|
%h4
|
||||||
Your photo
|
Your photo
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue