OSDN Git Service

speech balloon template changed
[pettanr/pettanr.git] / app / views / speech_balloon_templates / list.html.erb
index d9e7471..175673d 100644 (file)
@@ -1,27 +1,27 @@
-<h1>Listing speech_balloons</h1>
+<h1>Listing speech_balloon_templates</h1>
 <table>
   <tr>
     <th>id</th>
     <th>Name</th>
-    <th>Tail count</th>
-    <th>size count</th>
+    <th>classname</th>
+    <th>caption</th>
     <th>t</th>
     <th>created_at</th>
     <th>updated_at</th>
     <th></th>
   </tr>
 
-<% @speech_balloons.each do |speech_balloon| %>
+<% @speech_balloon_templates.each do |speech_balloon_template| %>
   <tr>
-    <td><%= link_to speech_balloon.id, :action => :browse, :id => speech_balloon.id %></td>
-    <td><%= h speech_balloon.name %></td>
-    <td><%= speech_balloon.tail_count %></td>
-    <td><%= speech_balloon.size_count %></td>
-    <td><%= speech_balloon.t %></td>
-    <td><%= speech_balloon.created_at %></td>
-    <td><%= speech_balloon.updated_at %></td>
+    <td><%= link_to speech_balloon_template.id, :action => :browse, :id => speech_balloon_template.id %></td>
+    <td><%= h speech_balloon_template.name %></td>
+    <td><%= h speech_balloon_template.classname %></td>
+    <td><%= h speech_balloon_template.caption %></td>
+    <td><%= speech_balloon_template.t %></td>
+    <td><%= speech_balloon_template.created_at %></td>
+    <td><%= speech_balloon_template.updated_at %></td>
     <td>
-      <%= link_to 'Destroy', speech_balloon, confirm: 'Are you sure?', method: :delete %>
+      <%= link_to 'Destroy', speech_balloon_template, confirm: 'Are you sure?', method: :delete %>
     </td>
   </tr>
 <% end %>