Don't need edit button on public profiles

This commit is contained in:
mb-log 2011-07-02 16:56:09 +02:00
parent de8e750b0d
commit 64898c522e

View file

@ -28,7 +28,7 @@
.right
- if user_signed_in? && current_user.person != @person
= render 'aspect_memberships/aspect_dropdown', :contact => @contact, :person => @person, :hang => 'left'
- else
- elsif user_signed_in? && current_user.person == @person
= link_to t('people.profile_sidebar.edit_my_profile'), edit_profile_path, :class => 'button creation'
%h2