<%= report_abuse(profile, :button) %>
<% if logged_in? && (user != profile) && profile.allow_followers? %>
<% follow = user.follows?(profile) %>
<% if !user.follows? profile %>
<%= button(:ok, content_tag('span', _('Follow')), {:profile => profile.identifier, :controller => 'profile', :action => 'find_profile_circles'}, :id => 'action-follow', :title => _("Follow")) %>
<% elsif !profile.in_social_circle?(user) %>
<%= button(:unfollow, content_tag('span', _('Unfollow')), {:profile => profile.identifier, :controller => 'profile', :action => 'unfollow'}, :method => :post, :id => 'action-unfollow', :title => _("Unfollow")) %>
<% end %>
<% end %>
<%= render_environment_features(:profile_actions) %>