OSDN Git Service

fix: server
[pettanr/pettanr.git] / app / views / scroll_panels / _footer.html.erb
index 02b3cf7..e68dace 100644 (file)
@@ -8,7 +8,7 @@
       <% end %>
     </td>
     <td>
-      <%= link_to scroll_panel_icon(:object => scroll_panel, :size => 25), scroll_panel_path(scroll_panel) %>
+      <%= scroll_panel_icon(:object => scroll_panel, :size => 25) %>
       <%= link_to author_icon(:object => scroll_panel.scroll.author, :size => 17), author_path(scroll_panel.scroll.author) %>
       <%= l scroll_panel.updated_at %>
     </td>
@@ -19,5 +19,8 @@
         No.<%= scroll_panel.t %>
       <% end %>
     </td>
+    <td>
+      <%= link_to tag(:img, {:src => '/images/remove.png', :width => Manifest.manifest.magic_numbers['thumbnail_width'] / 2, :height => Manifest.manifest.magic_numbers['thumbnail_height'] / 2}), scroll_panel, confirm: 'Are you sure?', :method => :delete %>
+    </td>
   </tr>
 </table>