詳細表示画面 app/helpers/issues_helper.rb def render_custom_fields_rows(issue) return if issue.custom_field_values.empty? ordered_values = [] half = (issue.custom_field_values.size / 2.0).ceil half.times do |i| ordered_values << issue.custom_field_values[i] ordered_values << issue.custom_field_values[i + half] end s = "<tr>\n" n = 0 ordered_values.compact.each do |value| s << "</tr>\n<tr>\n" if n > 0 &&