|
|
|
@ -7,9 +7,9 @@
|
|
|
|
|
<% end%>
|
|
|
|
|
<span title="<%= attachment.filename%>" id = "attachment_">
|
|
|
|
|
<% if options[:length] %>
|
|
|
|
|
<%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
|
|
|
|
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
|
|
|
|
|
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true -%>
|
|
|
|
|
<% end %>
|
|
|
|
|
</span>
|
|
|
|
|
<%if is_float%>
|
|
|
|
|