OSDN Git Service

import all source code
[pettanr/pettanr.git] / app / views / speaches / index.html.erb
diff --git a/app/views/speaches/index.html.erb b/app/views/speaches/index.html.erb
new file mode 100644 (file)
index 0000000..434bef7
--- /dev/null
@@ -0,0 +1,24 @@
+<h1>Listing speaches</h1>
+
+<table>
+  <tr>
+    <th>balloon</th>
+    <th>content</th>
+    <th>Top offset</th>
+    <th>Left offset</th>
+    <th>Width</th>
+    <th>Height</th>
+  </tr>
+
+<% @speaches.each do |speach| %>
+  <tr>
+    <td><%= speach.balloon_id %></td>
+    <td><%= speach.content %></td>
+    <td><%= speach.top_offset %></td>
+    <td><%= speach.left_offset %></td>
+    <td><%= speach.width %></td>
+    <td><%= speach.height %></td>
+  </tr>
+<% end %>
+</table>
+