OSDN Git Service

t#30009:fix views
[pettanr/pettanr.git] / app / views / panel_pictures / list.html.erb
1 <h1>Listing panel_pictures</h1>
2
3 <table>
4   <tr>
5     <th>id</th>
6     <th>panel</th>
7     <th>picture</th>
8     <th>link</th>
9     <th>x</th>
10     <th>y</th>
11     <th>z</th>
12     <th>t</th>
13     <th>Width</th>
14     <th>Height</th>
15     <th>caption</th>
16     <th>created_at</th>
17     <th>updated_at</th>
18   </tr>
19
20 <% @panel_pictures.each do |panel_picture| %>
21   <tr>
22     <td><%= panel_picture.id %></td>
23     <td><%= link_to panel_picture.panel_id, :controller => 'panels', :action => :browse, :id => panel_picture.panel_id%></td>
24     <td><%= link_to panel_picture.picture_id, panel_picture.picture %></td>
25     <td><%= h panel_picture.link %></td>
26     <td><%= panel_picture.x %></td>
27     <td><%= panel_picture.y %></td>
28     <td><%= panel_picture.z %></td>
29     <td><%= panel_picture.t %></td>
30     <td><%= panel_picture.width %></td>
31     <td><%= panel_picture.height %></td>
32     <td><%= h panel_picture.caption %></td>
33     <td><%= panel_picture.created_at %></td>
34     <td><%= panel_picture.updated_at %></td>
35   </tr>
36 <% end %>
37 </table>