Fixed: custom fields empty on issue/edit (broken by r1086).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1089 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-01-20 19:45:08 +00:00
parent df99d8f308
commit 59c5d995c3
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,11 @@
<div class="splitcontentleft">
<% values.each_with_index do |value, i| %>
<p><%= custom_field_tag_with_label value %></p>
<% if i >= values.size / 2 - 1 %>
<% i = 1 %>
<% for @custom_value in values %>
<p><%= custom_field_tag_with_label @custom_value %></p>
<% if i >= values.size / 2 %>
</div><div class="splitcontentright">
<% end %>
<% i += 1 %>
<% end %>
</div>
<div style="clear:both;"> </div>