OSDN Git Service

add files
[pettanr/pettanr.git] / app / views / speach_templates / list.html.erb
1 <h1>Listing speach_templates</h1>
2
3 <table>
4   <tr>
5     <th>id</th>
6     <th>balloon template</th>
7     <th>x</th>
8     <th>y</th>
9     <th>Width</th>
10     <th>Height</th>
11     <th>created_at</th>
12     <th>updated_at</th>
13   </tr>
14
15 <% @speach_templates.each do |speach_template| %>
16   <tr>
17     <td><%= link_to speach_template.id, :action => :browse, :id => speach_template.id %></td>
18     <td><%= link_to speach_template.balloon_template_id, :controller => 'balloon_templates', :action => :browse, :id => speach_template.balloon_template_id %></td>
19     <td><%= speach_template.x %></td>
20     <td><%= speach_template.y %></td>
21     <td><%= speach_template.width %></td>
22     <td><%= speach_template.height %></td>
23     <td><%= speach_template.created_at %></td>
24     <td><%= speach_template.updated_at %></td>
25   </tr>
26 <% end %>
27 </table>