diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 16:04:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 16:04:43 +0000 |
commit | 5addd2846d6733cd0b6af02b0afa7f73146b9362 (patch) | |
tree | 193d01219d749549e95e1d6cf2ccdb352c134bd3 /app/helpers/issues_helper.rb | |
parent | 5cdf94f29f66f6938ee7e98fbe2cd07962486ba3 (diff) | |
download | redmine-5addd2846d6733cd0b6af02b0afa7f73146b9362.tar.gz redmine-5addd2846d6733cd0b6af02b0afa7f73146b9362.zip |
cleanup: rubocop: fix Layout/AlignArguments in IssuesHelper#cells
git-svn-id: http://svn.redmine.org/redmine/trunk@19025 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r-- | app/helpers/issues_helper.rb | 8 |
1 files changed, 5 insertions, 3 deletions
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 |