<% @artists.each do |artist| %> <%= content_tag(:tr, :id => "artist-#{artist.id}") do %> <% end %> <% end %>
Name
<%= link_to "P", posts_path(:tags => artist.name), :title => "Find posts for artist" %> <%= link_to "E", edit_artist_path(artist), :title => "Edit artist" %> <%= link_to "D", artist_path(artist, :method => :delete, :confirm => "Do you really want to delete this artist?") %> <%= link_to h(artist.name), artist_path(artist) %> <% if !artist.group_name.blank? %> (group:<%= link_to(artist.group_name, artist_path(artist)) %>) <% end %>
<%= will_paginate(@artists) %>
<%= render "secondary_links" %>