OSDN Git Service

import all source code
[pettanr/pettanr.git] / app / views / balloons / index.html.erb
diff --git a/app/views/balloons/index.html.erb b/app/views/balloons/index.html.erb
new file mode 100644 (file)
index 0000000..2377f0e
--- /dev/null
@@ -0,0 +1,31 @@
+<h1>Listing balloons</h1>
+
+<table>
+  <tr>
+    <th>panel</th>
+    <th>balloonTemplate</th>
+    <th>resource_picture</th>
+    <th>Tail</th>
+    <th>Border</th>
+    <th>Zindex</th>
+    <th>Top offset</th>
+    <th>Left offset</th>
+    <th>Width</th>
+    <th>Height</th>
+  </tr>
+
+<% @balloons.each do |balloon| %>
+  <tr>
+    <td><%= balloon.panel_id %></td>
+    <td><%= balloon.balloon_template_id %></td>
+    <td><%= balloon.resource_picture_id %></td>
+    <td><%= balloon.tail %></td>
+    <td><%= balloon.border %></td>
+    <td><%= balloon.zindex %></td>
+    <td><%= balloon.top_offset %></td>
+    <td><%= balloon.left_offset %></td>
+    <td><%= balloon.width %></td>
+    <td><%= balloon.height %></td>
+  </tr>
+<% end %>
+</table>