##// END OF EJS Templates
Rails3: view: html_safe for timelog/report.html.erb...
Toshi MARUYAMA -
r8330:48fae144032d
parent child
Show More
@@ -50,7 +50,7
50 <%= render :partial => 'report_criteria', :locals => {:criterias => @report.criteria, :hours => @report.hours, :level => 0} %>
50 <%= render :partial => 'report_criteria', :locals => {:criterias => @report.criteria, :hours => @report.hours, :level => 0} %>
51 <tr class="total">
51 <tr class="total">
52 <td><%= l(:label_total) %></td>
52 <td><%= l(:label_total) %></td>
53 <%= '<td></td>' * (@report.criteria.size - 1) %>
53 <%= ('<td></td>' * (@report.criteria.size - 1)).html_safe %>
54 <% total = 0 -%>
54 <% total = 0 -%>
55 <% @report.periods.each do |period| -%>
55 <% @report.periods.each do |period| -%>
56 <% sum = sum_hours(select_hours(@report.hours, @report.columns, period.to_s)); total += sum -%>
56 <% sum = sum_hours(select_hours(@report.hours, @report.columns, period.to_s)); total += sum -%>
General Comments 0
You need to be logged in to leave comments. Login now