##// END OF EJS Templates
view: remote_form_for: equals sign mandatory to print blocks and replace to form_for and use :remote => true and :as...
view: remote_form_for: equals sign mandatory to print blocks and replace to form_for and use :remote => true and :as git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9571 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8738:96757857c412
r9388:4b2fc90431a6
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>