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

15 lines
306 B
Plaintext
Raw Normal View History

<h1><%= @brewery.title -%></h1>
<div id="attributes">
<ul>
<li>Available Beers: <%= @brewery.beers.size -%></li>
</ul>
</div>
<%= @page.html %>
<div id="related_links">
<%= link_to 'Edit', edit_brewery_path(@brewery.page.title_for_url) %> |
<%= link_to 'Breweries', breweries_path %>
</div>