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