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

14 lines
378 B
Plaintext
Executable file

<div class="attachments">
<span class="title"><%= t(:attachments,:scope=>:message) %></span>
<table class="table">
<% trclass = :even %>
<% for idx in 0..@attachments.size-1 %>
<tr class="<%= trclass.to_s %>">
<%= render :partial => 'attachment', :object => @attachments[idx] %>
</tr>
<% trclass == :even ? trclass = :odd : trclass = :even %>
<% end %>
</table>
</div>