Sha256: 5d30c8a435f1a0a1a1fb79f8b42440ffaa3937373a78687ddf99a3016760cc7b
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
<% if @year_in_reviews['entries'].none? %> <p><%= t('music_year_in_reviews.index.empty_collection') %></p> <% else %> <table class="table table-striped"> <thead> <tr class="<%= cycle('odd', 'even') %>"> <th style="width: 45px"><%= t("general.year") %></th> <th style="width: 100px"></th> <th></th> </tr> </thead> <tbody> <% @year_in_reviews['entries'].each do |year_in_review| %> <tr class="<%= cycle('odd', 'even') %>"> <td> <%= link_to year_in_review['year'], music_year_in_review_path(year_in_review['year']) %> </td> <td> <%= link_to( t('music_year_in_reviews.show.top_albums.short_title'), music_year_in_review_top_albums_path(year_in_review['year']) ) %> </td> <td> <%= link_to( t('music_year_in_reviews.show.top_songs.short_title'), music_year_in_review_top_songs_path(year_in_review['year']) ) %> </td> </tr> <% end %> </table> <%= will_paginate @pagination, renderer: BootstrapPagination::Rails %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
home_page_music-0.0.1 | app/views/music/year_in_reviews/_collection.html.erb |