+ <% for attachment in attachments %>
+
+ <%= link_to_short_attachment attachment, :class => 'link_file', :download => true, :length => 100 -%>
+
+ <% if attachment.is_text? %>
+
+ <%= link_to image_tag('magnifier.png'),
+ {:controller => 'attachments',
+ :action => 'show',
+ :id => attachment,
+ :filename => attachment.filename},
+ :target => "_blank"%>
+
+ <% end %>
+ <% end %>
+
diff --git a/app/views/bids/_homework.html.erb b/app/views/bids/_homework.html.erb
index a7a703c05..0cb1ff7cc 100644
--- a/app/views/bids/_homework.html.erb
+++ b/app/views/bids/_homework.html.erb
@@ -1,16 +1,5 @@
<%= render_flash_messages %>