OSDN Git Service

added views add to field
[pettanr/pettanr.git] / app / views / speaches / index.html.erb
1 <h1>Listing speaches</h1>
2
3 <table>
4   <tr>
5     <th>balloon</th>
6     <th>content</th>
7     <th>x</th>
8     <th>y</th>
9     <th>t</th>
10     <th>Width</th>
11     <th>Height</th>
12   </tr>
13
14 <% @speaches.each do |speach| %>
15   <tr>
16     <td><%= speach.balloon_id %></td>
17     <td><%= h speach.content %></td>
18     <td><%= speach.x %></td>
19     <td><%= speach.y %></td>
20     <td><%= speach.t %></td>
21     <td><%= speach.width %></td>
22     <td><%= speach.height %></td>
23   </tr>
24 <% end %>
25 </table>
26