##// END OF EJS Templates
Applies the same style to the admin project tree than issues....
Applies the same style to the admin project tree than issues. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3621 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2722:cfd7d07b69e2
r3507:ce549933c8ab
Show More
_form_custom_fields.rhtml
12 lines | 353 B | text/html+ruby | RhtmlLexer
/ app / views / issues / _form_custom_fields.rhtml
<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 style="clear:both;"> </div>