some fixes

This commit is contained in:
Wojciech Todryk 2011-09-10 13:49:42 +02:00
parent f3a3c6bded
commit a1352b9402
5 changed files with 29 additions and 21 deletions

View file

@ -2,7 +2,7 @@
<span class="title"><%= t(:attachments,:scope=>:message) %></span>
<% if not @attachments.size.zero? %>
<% trclass = :even %>
<table>
<table class="table">
<% @attachments.each do |a| %>
<tr class="<%= trclass.to_s %>">
<%= render :partial => 'messages/file_attach', :object => a %>