@@ -256,7 +256,7 module IssuesHelper | |||||
256 | values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?} |
|
256 | values = issue.visible_custom_field_values.select {|value| value.custom_field.full_width_layout?} | |
257 | return if values.empty? |
|
257 | return if values.empty? | |
258 |
|
258 | |||
259 | s = '' |
|
259 | s = ''.html_safe | |
260 | values.each_with_index do |value, i| |
|
260 | values.each_with_index do |value, i| | |
261 | if value.custom_field.text_formatting == 'full' |
|
261 | if value.custom_field.text_formatting == 'full' | |
262 | attr_value = content_tag('div', show_value(value), class: 'wiki') |
|
262 | attr_value = content_tag('div', show_value(value), class: 'wiki') | |
@@ -269,7 +269,7 module IssuesHelper | |||||
269 | content_tag('div', attr_value, class: 'value') |
|
269 | content_tag('div', attr_value, class: 'value') | |
270 | s << content_tag('div', content, class: "cf_#{value.custom_field.id} attribute") |
|
270 | s << content_tag('div', content, class: "cf_#{value.custom_field.id} attribute") | |
271 | end |
|
271 | end | |
272 | s.html_safe |
|
272 | s | |
273 | end |
|
273 | end | |
274 |
|
274 | |||
275 | # Returns the path for updating the issue form |
|
275 | # Returns the path for updating the issue form |
General Comments 0
You need to be logged in to leave comments.
Login now