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-06 23:26:02 -05:00
|
|
|
<% for brewery in @breweries -%>
|
|
|
|
<h4><%= show_brewery_link(brewery) -%></h4>
|
2007-12-03 03:25:17 -05:00
|
|
|
<ul>
|
2008-02-06 23:26:02 -05:00
|
|
|
<% for beer in @beers.select { |b| b.brewery_id == brewery.id } -%><li><%= show_beer_link(beer) -%></li><% end %>
|
2007-12-03 03:25:17 -05:00
|
|
|
</ul>
|
2008-02-06 23:26:02 -05:00
|
|
|
<% end -%>
|
2007-12-03 03:25:17 -05:00
|
|
|
|
|
|
|
<%= render :partial => 'shared/pagination_links' %>
|
2007-11-15 19:17:37 -05:00
|
|
|
|
2007-11-15 19:57:44 -05:00
|
|
|
<% content_for :sidebar do -%>
|
|
|
|
<%= link_to "New Beer", new_beer_path, { :title => 'Create a new beer' } -%><br />
|
2007-11-28 02:16:41 -05:00
|
|
|
<%= render :partial => 'shared/tag_cloud' %>
|
2007-11-15 19:57:44 -05:00
|
|
|
<% end -%>
|
2008-02-03 04:27:09 -05:00
|
|
|
|
|
|
|
<% content_for :auto_discoveries do -%>
|
|
|
|
<%= auto_discovery_link_tag :rss, { :format => :rss } %>
|
|
|
|
<% end -%>
|