<% content_for :title do %><%= t('music_year_in_reviews.show.top_songs.title', year: params[:id]) %><% end %> <% if @songs.none? %>

<%= t('music_year_in_reviews.show.top_songs.empty_collection') %>

<% else %> <% @songs.each do |song| %> <% end %>
<%= t('general.position') %> <%= t('music.general.music_artist.short') %> <%= t('general.name') %>
<%= song['position'] %> <%= link_to song['artist_name'], "#{Volontariat::HOSTS[Rails.env.to_s.to_sym]}/music/artists/#{song['artist_id']}" %> <%= link_to song['track_name'], "#{Volontariat::HOSTS[Rails.env.to_s.to_sym]}/music/tracks/#{song['track_id']}" %>
<% end %>