This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2007-12-03 03:25:17 -05:00
|
|
|
<ul>
|
2007-11-15 19:17:37 -05:00
|
|
|
<% unless @beers.empty? -%>
|
2007-12-03 03:37:31 -05:00
|
|
|
<% for beer in @beers %><li><%= link_to beer.title, beer_path(beer.page.title_for_url) %></li><% else -%>
|
2007-12-03 03:25:17 -05:00
|
|
|
<li>No beers, yet</li>
|
2007-11-15 19:17:37 -05:00
|
|
|
<% end -%>
|
2007-12-03 03:25:17 -05:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<%= 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 -%>
|