From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 16:04:43 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells X-Git-Tag: 4.1.0~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5addd2846d6733cd0b6af02b0afa7f73146b9362;p=redmine.git cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells git-svn-id: http://svn.redmine.org/redmine/trunk@19025 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 4da70841b..be20c59d4 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -269,9 +269,11 @@ module IssuesHelper def cells(label, text, options={}) options[:class] = [options[:class] || "", 'attribute'].join(' ') - content_tag 'div', - content_tag('div', label + ":", :class => 'label') + content_tag('div', text, :class => 'value'), - options + content_tag( + 'div', + content_tag('div', label + ":", :class => 'label') + + content_tag('div', text, :class => 'value'), + options) end end