OSDN Git Service

Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git] / app / views / speeches / index.html.erb
diff --git a/app/views/speeches/index.html.erb b/app/views/speeches/index.html.erb
new file mode 100644 (file)
index 0000000..d481a0e
--- /dev/null
@@ -0,0 +1,26 @@
+<h1>Listing speeches</h1>
+
+<table>
+  <tr>
+    <th>balloon</th>
+    <th>content</th>
+    <th>x</th>
+    <th>y</th>
+    <th>t</th>
+    <th>Width</th>
+    <th>Height</th>
+  </tr>
+
+<% @speeches.each do |speech| %>
+  <tr>
+    <td><%= speech.balloon_id %></td>
+    <td><%= h speech.content %></td>
+    <td><%= speech.x %></td>
+    <td><%= speech.y %></td>
+    <td><%= speech.t %></td>
+    <td><%= speech.width %></td>
+    <td><%= speech.height %></td>
+  </tr>
+<% end %>
+</table>
+