added some parenthesis in views

git-svn-id: http://redmine.rubyforge.org/svn/trunk@372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-03-23 19:00:48 +00:00
parent 1493c2a9b4
commit 669b2342ff
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,6 @@
<% end %>
</ul>
<% if journal.notes? %>
<%= textilizable journal.notes %>
<%= textilizable(journal.notes) %>
<% end %>
<% end %>

View File

@ -34,7 +34,7 @@
<tr>
<% n = 0
for custom_value in @custom_values %>
<td><b><%= custom_value.custom_field.name %> :</b></td><td><%=h show_value custom_value %></td>
<td><b><%= custom_value.custom_field.name %> :</b></td><td><%= h(show_value(custom_value)) %></td>
<% n = n + 1
if (n > 1)
n = 0 %>