added unfriend button to person show page

This commit is contained in:
danielvincent 2010-07-09 18:54:48 -07:00
parent aa916d0604
commit 7bfdaac691

View file

@ -1,5 +1,6 @@
.span-20.last .span-20.last
%h1= "#{@person.real_name}" %h1= "#{@person.real_name}"
= link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete
- if @person_profile - if @person_profile
%p %p
%b First Name %b First Name