2013-08-01 10:33:49 +08:00
|
|
|
<div class="splitcontent">
|
2015-09-23 14:27:47 +08:00
|
|
|
<div class="splitcontentleft">
|
|
|
|
<% i = 0 %>
|
|
|
|
<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
|
|
|
|
<% @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>
|
|
|
|
<% if i == split_on -%>
|
|
|
|
</div><div class="splitcontentright">
|
|
|
|
<% end -%>
|
|
|
|
<% i += 1 -%>
|
|
|
|
<% end -%>
|
|
|
|
</div>
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|