##// END OF EJS Templates
Merged r9911 from trunk to 1.4-stable (#11328)...
Merged r9911 from trunk to 1.4-stable (#11328) Fix Japanese mistranslation for 'label_language_based'. Contributed by Go MAEDA. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9918 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8738:96757857c412
r9735:1b0e717902c0
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>