OSDN Git Service

import all source code
[pettanr/pettanr.git] / app / views / balloon_templates / index.html.erb
diff --git a/app/views/balloon_templates/index.html.erb b/app/views/balloon_templates/index.html.erb
new file mode 100644 (file)
index 0000000..5204337
--- /dev/null
@@ -0,0 +1,27 @@
+<h1>Listing balloon_templates</h1>
+
+<table>
+  <tr>
+    <th>speach balloon</th>
+    <th>resource_picture</th>
+    <th>Tail</th>
+    <th>Border</th>
+    <th>MinWidth</th>
+    <th>MinHeight</th>
+    <th>MaxWidth</th>
+    <th>MaxHeight</th>
+  </tr>
+
+<% @balloon_templates.each do |balloon_template| %>
+  <tr>
+    <td><%= balloon_template.speach_balloon_id %></td>
+    <td><%= balloon_template.resource_picture_id %></td>
+    <td><%= balloon_template.tail %></td>
+    <td><%= balloon_template.border %></td>
+    <td><%= balloon_template.min_width %></td>
+    <td><%= balloon_template.min_height %></td>
+    <td><%= balloon_template.max_width %></td>
+    <td><%= balloon_template.max_height %></td>
+  </tr>
+<% end %>
+</table>