OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / scrolls / list.html.erb
index 43fdf7e..557736e 100644 (file)
@@ -2,22 +2,22 @@
 
 <table>
   <tr>
-    <th><%= t_m 'Comic.id' -%></th>
-    <th><%= t_m 'Comic.title' -%></th>
-    <th><%= t_m 'Comic.visible' -%></th>
-    <th><%= t_m 'Comic.author_id' -%></th>
-    <th><%= t_m 'Comic.created_at' -%></th>
-    <th><%= t_m 'Comic.updated_at' -%></th>
+    <th><%= t_m 'Scroll.id' -%></th>
+    <th><%= t_m 'Scroll.title' -%></th>
+    <th><%= t_m 'Scroll.visible' -%></th>
+    <th><%= t_m 'Scroll.author_id' -%></th>
+    <th><%= t_m 'Scroll.created_at' -%></th>
+    <th><%= t_m 'Scroll.updated_at' -%></th>
   </tr>
 
-<% @comics.each do |comic| %>
+<% @scrolls.each do |scroll| %>
   <tr>
-    <td><%= link_to comic.id, browse_comic_path(comic) %></td>
-    <td><%= h(truncate(comic.title, :length => 12)) %></td>
-    <td><%= comic.visible %></td>
-    <td><%= link_to comic.author_id, browse_author_path(comic.author) %></td>
-    <td><%= l comic.created_at %></td>
-    <td><%= l comic.updated_at %></td>
+    <td><%= link_to scroll.id, browse_scroll_path(scroll) %></td>
+    <td><%= h(truncate(scroll.title, :length => 12)) %></td>
+    <td><%= scroll.visible %></td>
+    <td><%= link_to scroll.author_id, browse_author_path(scroll.author) %></td>
+    <td><%= l scroll.created_at %></td>
+    <td><%= l scroll.updated_at %></td>
   </tr>
 <% end %>
 </table>