Sha256: e6e2e25cdacad2f930484effb16bf70d61841e23bb0cbe01b7bf8b4f1d371b61

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

<!-- requires para brewery -->

<span class='tags'>
  <% if brewery.prod.present? %>
     <%= brewery.prod %> hl
  <% end %>
  <% if brewery.tags.count > 0 %>
    <% brewery.tags.each_with_index do |tag,i| %>
      <% if i > 0 || brewery.prod.present? %>
         &bull; 
       <% end %>
       <%= tag.key %>
    <% end %>
  <% end %>
</span>

Version data entries

4 entries across 4 versions & 1 rubygems

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