This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2008-02-01 00:21:09 -05:00
|
|
|
<%= tagged_image_browser(@people) %>
|
|
|
|
|
2007-12-03 03:47:21 -05:00
|
|
|
<%= render :partial => 'pages/page' %>
|
|
|
|
|
|
|
|
<% content_for :sidebar do -%>
|
|
|
|
<%= new_people_link -%><br />
|
|
|
|
<%= edit_people_link(@people) %><br />
|
|
|
|
<%= link_to 'Destroy', people_path(@people.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %><br />
|
2008-02-01 00:21:09 -05:00
|
|
|
<% unless @people.tagged_images.empty? -%><%= tagged_image_browser_link -%><br /><% end -%>
|
2008-02-01 02:43:40 -05:00
|
|
|
<%= show_friends_link(@people) -%><br />
|
|
|
|
<% unless @people.id == session[:people_id] or @people.friend_of?(session[:people_id]) -%><%= add_friend_link(@people) -%><% end -%>
|
2008-02-02 19:57:35 -05:00
|
|
|
<% if @people.friend_of?(session[:people_id]) -%><%= remove_friend_link(@people) -%><br /><% end -%>
|
|
|
|
<%= link_to "#{pluralize(@people.beers.size, 'Beer')} Experience", experience_path(:id => @people.page.title_for_url) -%><br />
|
2007-12-03 03:47:21 -05:00
|
|
|
<% end -%>
|