2012-02-12 14:50:41 +04:00
|
|
|
<div class="splitcontent">
|
2008-01-20 20:20:34 +03:00
|
|
|
<div class="splitcontentleft">
|
2008-08-11 22:24:39 +04:00
|
|
|
<% i = 0 %>
|
2009-07-29 23:04:27 +04:00
|
|
|
<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
|
2012-07-15 18:12:17 +04:00
|
|
|
<% @issue.editable_custom_field_values.each do |value| %>
|
|
|
|
<p><%= custom_field_tag_with_label :issue, value, :required => @issue.required_attribute?(value.custom_field_id) %></p>
|
2008-06-28 00:13:56 +04:00
|
|
|
<% if i == split_on -%>
|
2008-01-20 20:20:34 +03:00
|
|
|
</div><div class="splitcontentright">
|
2008-06-28 00:13:56 +04:00
|
|
|
<% end -%>
|
|
|
|
<% i += 1 -%>
|
|
|
|
<% end -%>
|
2008-01-20 20:20:34 +03:00
|
|
|
</div>
|
2012-02-12 14:50:41 +04:00
|
|
|
</div>
|