Don't need edit button on public profiles
This commit is contained in:
parent
de8e750b0d
commit
64898c522e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue