OSDN Git Service

speach rename to speech
[pettanr/pettanr.git] / app / views / speech_balloon_templates / list.html.erb
diff --git a/app/views/speech_balloon_templates/list.html.erb b/app/views/speech_balloon_templates/list.html.erb
new file mode 100644 (file)
index 0000000..d9e7471
--- /dev/null
@@ -0,0 +1,28 @@
+<h1>Listing speech_balloons</h1>
+<table>
+  <tr>
+    <th>id</th>
+    <th>Name</th>
+    <th>Tail count</th>
+    <th>size count</th>
+    <th>t</th>
+    <th>created_at</th>
+    <th>updated_at</th>
+    <th></th>
+  </tr>
+
+<% @speech_balloons.each do |speech_balloon| %>
+  <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 'Destroy', speech_balloon, confirm: 'Are you sure?', method: :delete %>
+    </td>
+  </tr>
+<% end %>
+</table>