<%= render :partial => 'shared/tagged_image_browser', :locals => { :obj => @beer } %> <%= render :partial => 'pages/page' %> <% content_for :sidebar do -%> <%= new_beer_link -%>
<%= edit_beer_link(@beer) -%>
<%= link_to 'Destroy', beer_path(@beer.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %>
<% unless @beer.tagged_images.empty? -%><%= tagged_image_browser_link -%>
<% end -%> <% end -%>