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
399 B
Plaintext
Raw Permalink Normal View History

<%= 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), :confirm => 'Are you sure?', :method => :delete %><br />
<% unless @brewery.tagged_images.empty? -%><%= tagged_image_browser_link -%><br /><% end -%>
<% end -%>