OSDN Git Service

t#32025:comic rename
[pettanr/pettanr.git] / app / views / scroll_panels / list.html.erb
index 6fae81c..9606bef 100644 (file)
@@ -1,9 +1,9 @@
-<h1>Listing Story</h1>
+<h1>Listing ScrollPanel</h1>
 
 <table>
   <tr>
     <th>id</th>
-    <th>comic_id</th>
+    <th>scroll_id</th>
     <th>panel_id</th>
     <th>t</th>
     <th>author_id</th>
     <th></th>
   </tr>
 
-<%  @stories.each do |story| %>
+<%  @scroll_panels.each do |scroll_panel| %>
   <tr>
-    <td><%= link_to story.id, :action => :browse, :id => story.id %></td>
-    <td><%= story.comic_id %></td>
-    <td><%= story.panel_id %></td>
-    <td><%= story.t %></td>
-    <td><%= link_to story.author_id, :controller => '/authors', :action => :browse, :id => story.author_id %></td>
-    <td><%= story.created_at %></td>
-    <td><%= story.updated_at %></td>
+    <td><%= link_to scroll_panel.id, :action => :browse, :id => scroll_panel.id %></td>
+    <td><%= scroll_panel.scroll_id %></td>
+    <td><%= scroll_panel.panel_id %></td>
+    <td><%= scroll_panel.t %></td>
+    <td><%= link_to scroll_panel.author_id, :controller => '/authors', :action => :browse, :id => scroll_panel.author_id %></td>
+    <td><%= scroll_panel.created_at %></td>
+    <td><%= scroll_panel.updated_at %></td>
     <td>
     </td>
   </tr>