From a61c126aad2c65087e6f88babc3e44f9a1cc645b Mon Sep 17 00:00:00 2001 From: maxwell Date: Fri, 15 Oct 2010 11:29:23 -0700 Subject: [PATCH] manage page now uses partial --- app/views/aspects/manage.html.haml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/views/aspects/manage.html.haml b/app/views/aspects/manage.html.haml index 472d8241f..a188787af 100644 --- a/app/views/aspects/manage.html.haml +++ b/app/views/aspects/manage.html.haml @@ -25,12 +25,7 @@ %ul.dropzone %li.grey Drag to ignore/remove - %h3= link_to "Invite a friend!", "#invite_user_pane", :id => "invite_user_button", :class => "invite_user_button", :title => "Invite a friend" - %h3= "You have #{@invites} invites." - - .yo{ :style => "display:none;"} - #invite_user_pane - = render "invitations/new" + = render 'shared/invitations', :invites => @invites - content_for :publish do = link_to(t('.add_a_new_aspect'), "#add_aspect_pane", :id => "add_aspect_button", :class => "new_aspect button", :title => t('.add_a_new_aspect'))