1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells

git-svn-id: http://svn.redmine.org/redmine/trunk@19025 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-09 16:04:43 +00:00
parent 5cdf94f29f
commit 5addd2846d

View File

@ -269,9 +269,11 @@ module IssuesHelper
def cells(label, text, options={}) def cells(label, text, options={})
options[:class] = [options[:class] || "", 'attribute'].join(' ') options[:class] = [options[:class] || "", 'attribute'].join(' ')
content_tag 'div', content_tag(
content_tag('div', label + ":", :class => 'label') + content_tag('div', text, :class => 'value'), 'div',
options content_tag('div', label + ":", :class => 'label') +
content_tag('div', text, :class => 'value'),
options)
end end
end end