Permalink
Browse files

remove erb template. closes #5

  • Loading branch information...
1 parent ffbe4c4 commit 0b5786ca086e3bcc881a0e478c4d7ff1c8d4ba5b @johnmuhl johnmuhl committed Jan 16, 2011
Showing with 0 additions and 19 deletions.
  1. +0 −19 app/views/admin/pages/_attachment.html.erb
@@ -1,19 +0,0 @@
-<li id="attachment_<%= attachment.id %>" class="attachment clearfix">
-<div>
- <%= image_tag "admin/minus.png", :alt => "Delete", :class => 'delete' %>
- <% unless attachment.first? %>
- <%= image_tag "admin/page_attachments/move_higher.png", :alt => "Move Higher", :class => 'higher' %>
- <% end %>
- <% unless attachment.last? %>
- <%= image_tag "admin/page_attachments/move_lower.png", :alt => "Move Lower", :class => 'lower' %>
- <% end %>
-</div>
-<% unless attachment.thumbnails.empty? %>
-<%= link_to image_tag(attachment.public_filename("icon")),
-attachment.public_filename, :class => 'thumbnail' %>
-<% end %>
-<% unless attachment.title.blank? %>
-<p><%= h attachment.short_title %></p>
-<% end %>
-<%= link_to attachment.short_filename, attachment.public_filename %>
-</li>

0 comments on commit 0b5786c

Please sign in to comment.