@@ -1,9 +1,11 | |||
|
1 | 1 | <div class="splitcontentleft"> |
|
2 | <% values.each_with_index do |value, i| %> | |
|
3 | <p><%= custom_field_tag_with_label value %></p> | |
|
4 | <% if i >= values.size / 2 - 1 %> | |
|
2 | <% i = 1 %> | |
|
3 | <% for @custom_value in values %> | |
|
4 | <p><%= custom_field_tag_with_label @custom_value %></p> | |
|
5 | <% if i >= values.size / 2 %> | |
|
5 | 6 | </div><div class="splitcontentright"> |
|
6 | 7 | <% end %> |
|
8 | <% i += 1 %> | |
|
7 | 9 | <% end %> |
|
8 | 10 | </div> |
|
9 | 11 | <div style="clear:both;"> </div> |
General Comments 0
You need to be logged in to leave comments.
Login now