mailr/themes/olive/views/messages/_image.html.erb
Wojciech Todryk fdd3019f55 devel
2011-09-03 13:07:40 +02:00

9 lines
381 B
Plaintext
Executable file

<div class="image">
<%= image_tag(messages_attachment_download_path(image.parent_id,image.idx), :size => "128x128", :alt=>image.filename, :title=>image.filename) %>
<div class="desc">
<span class="name"><%= link_to (image.filename,messages_attachment_download_path(image.parent_id,image.idx)) %></span>
<span class="size"><%= size_formatter(image.getSize) %></span>
</div>
</div>