##// END OF EJS Templates
replace tabs to spaces at app/views/news/index.html.erb...
replace tabs to spaces at app/views/news/index.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7350 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6888:895bbd6da450
r7230:5d973f110e4f
Show More
_form_custom_fields.html.erb
12 lines | 353 B | text/plain | TextLexer
/ app / views / issues / _form_custom_fields.html.erb
<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>