OSDN Git Service

t#30328:create op import ...and pull
[pettanr/pettanr.git] / app / views / artists / list.html.erb
index 99947d0..db1fb76 100644 (file)
@@ -3,6 +3,7 @@
 <table>
   <tr>
     <th><%= t_m 'Artist.id' -%></th>
+    <th><%= t_m 'Artist.author_id' -%></th>
     <th><%= t_m 'Artist.name' -%></th>
     <th><%= t_m 'Artist.author_id' -%></th>
     <th><%= t_m 'Artist.created_at' -%></th>
@@ -12,6 +13,7 @@
   <% @artists.each do |artist| %>
     <tr>
       <td><%= link_to artist.id, browse_artist_path(artist) %></td>
+      <td><%= link_to artist.author_id, browse_author_path(artist.author) %></td>
       <td><%= h(truncate(artist.name, :length => 12)) %></td>
       <td>
         <% if artist.author_id %>