changed a bit of text in the invite, also made it show on all aspects now that we have it fixed

This commit is contained in:
maxwell 2010-10-19 21:07:10 -07:00
parent e7f84f5434
commit d0055cee37
2 changed files with 10 additions and 9 deletions

View file

@ -1,7 +1,8 @@
.span-12.last
.modal_title_bar
%h4 Send invitation
%h4 Invite someone to join Diaspora!
%i if they accept, they will be added to the aspect you invited them
= form_for User.new, :url => invitation_path(User) do |invite|
%p
= invite.label :email
@ -11,6 +12,7 @@
= invite.select(:aspects, @aspects_dropdown_array)
- else
= invite.select(:aspects, @aspects_dropdown_array, :selected => @aspect.id)
Message:
= invite.text_area :invite_messages, :value => ""

View file

@ -1,8 +1,7 @@
- unless @aspect == :all
%h4 Invites
= link_to "Invite a friend", "#invite_user_pane", :class => "invite_user_button", :title => "Invite a friend"
= "(#{invites} left)"
%br
.yo{ :style => "display:none;"}
#invite_user_pane
= render "invitations/new"
%h4 Invites
= link_to "Invite a friend", "#invite_user_pane", :class => "invite_user_button", :title => "Invite a friend"
= "(#{invites} left)"
%br
.yo{ :style => "display:none;"}
#invite_user_pane
= render "invitations/new"