This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/breweries/show.rhtml

11 lines
418 B
Plaintext

<%= tagged_image_browser(@brewery) %>
<%= render :partial => 'pages/page' %>
<% content_for :sidebar do -%>
<%= new_brewery_link -%><br />
<%= edit_brewery_link(@brewery) -%><br />
<%= link_to 'Destroy', brewery_path(@brewery.page.title_for_url), :confirm => 'Are you sure?', :method => :delete %><br />
<% unless @brewery.tagged_images.empty? -%><%= tagged_image_browser_link -%><br /><% end -%>
<% end -%>