OSDN Git Service

Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git] / app / views / speech_templates / list.html.erb
diff --git a/app/views/speech_templates/list.html.erb b/app/views/speech_templates/list.html.erb
new file mode 100644 (file)
index 0000000..8a7718d
--- /dev/null
@@ -0,0 +1,27 @@
+<h1>Listing speech_templates</h1>
+
+<table>
+  <tr>
+    <th>id</th>
+    <th>balloon template</th>
+    <th>x</th>
+    <th>y</th>
+    <th>Width</th>
+    <th>Height</th>
+    <th>created_at</th>
+    <th>updated_at</th>
+  </tr>
+
+<% @speech_templates.each do |speech_template| %>
+  <tr>
+    <td><%= link_to speech_template.id, :action => :browse, :id => speech_template.id %></td>
+    <td><%= link_to speech_template.balloon_template_id, :controller => 'balloon_templates', :action => :browse, :id => speech_template.balloon_template_id %></td>
+    <td><%= speech_template.x %></td>
+    <td><%= speech_template.y %></td>
+    <td><%= speech_template.width %></td>
+    <td><%= speech_template.height %></td>
+    <td><%= speech_template.created_at %></td>
+    <td><%= speech_template.updated_at %></td>
+  </tr>
+<% end %>
+</table>