##// END OF EJS Templates
Merged r10083 from trunk to 2.0-stable (#11511)...
Merged r10083 from trunk to 2.0-stable (#11511) fix confirmation page has broken HTML when a project folding sub project is deleted. Contributed by Haruka Yoshihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.0-stable@10084 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8738:96757857c412
r9901:48e4facc3cdd
Show More
_form_custom_fields.html.erb
13 lines | 355 B | text/plain | TextLexer
/ app / views / issues / _form_custom_fields.html.erb
<div class="splitcontent">
<div class="splitcontentleft">
<% i = 0 %>
<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
<% @issue.custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :issue, value %></p>
<% if i == split_on -%>
</div><div class="splitcontentright">
<% end -%>
<% i += 1 -%>
<% end -%>
</div>
</div>