OSDN Git Service

t#30009:fix views
[pettanr/pettanr.git] / app / views / panels / _footer.html.erb
1 <table class="no-border">
2   <tr>
3     <td>
4       <%= link_to '■', panel_path(panel) %>
5     </td>
6     <td>
7       <%= link_to h(panel.author.name), author_path(panel.author) %>
8     </td>
9     <td>
10       <%= panel.width %>x<%= panel.height %>
11     </td>
12     <td>
13       <%= panel.updated_at %>
14     </td>
15     <td>
16       <% if panel.own? author %>
17         <%= link_to 'edit', edit_panel_path(panel) %>
18         <%= link_to 'destroy', panel_path(panel), :method => :dellete %>
19       <% end %>
20     </td>
21   </tr>
22 </table>