Sha256: b7bec5aa8b331679077cbc158bdb696f7ea0fe104dd3872cb39200f26b654372

Contents?: true

Size: 333 Bytes

Versions: 3

Compression:

Stored size: 333 Bytes

Contents

<!-- requires para beers -->

<span class='beers'>

<% beers.each_with_index do |beer,i| %>
  <% if i > 0 %>
    &bull; 
  <% end %>
  <%= link_to beer.title, beer_path(beer.id) %>
<% end %><!-- each beer -->
</span>

<!-- todo: check - nested inside beers -why? why not? -->
<span class='beer-count'>
  (<%= beers.count %>)
</span>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 app/views/beer_db_admin/shared/_beers.html.erb
beerdb-admin-0.1.0 app/views/beer_db_admin/shared/_beers.html.erb
beerdb-admin-0.0.1 app/views/beer_db_admin/shared/_beers.html.erb