diff --git a/app/views/peoples/show.rhtml b/app/views/peoples/show.rhtml index 8a28ca4..f83ac53 100644 --- a/app/views/peoples/show.rhtml +++ b/app/views/peoples/show.rhtml @@ -21,7 +21,7 @@ <% unless @people.id == session[:people_id] or @people.friend_of?(session[:people_id]) -%><%= add_friend_link(@people) -%>
<% end -%> <% if @people.friend_of?(session[:people_id]) -%><%= remove_friend_link(@people) -%>
<% end -%> <%= link_to "#{pluralize(@people.beers.size, 'Beer')} Experience", experience_path(:id => @people.page.title_for_url) -%>
- <% if @people.beers.size == Beer.count -%><%= @people.title -%> is a god among men, having tried every beer.
<% end -%> + <% if @people.beers.size == Beer.count -%><%= @people.title -%> is a god among men, having tried every beer.
<% end -%> <%= render :partial => 'invitations/invitations' -%>
<% if has_permission_for_action?(:create, :invitations) -%><%= link_to_remote "#{image_tag('list-add.png')} Invitation", :update => 'person_invitations', :url => invitations_path, :with => "'people_id=#{@people.id}'", :success => "new Effect.Highlight('person_invitations', { duration: 2.0 })" -%>
<% end -%> <% end -%>