diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 17:10:02 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 17:10:02 +0000 |
commit | f56144063da23f9d586234be2210adaa05a18ab8 (patch) | |
tree | 431a5382327674f20e268dc9c67a524e74433e29 /lib | |
parent | aa28599b854e46c5934ceb25ec8adcec0ae46a40 (diff) | |
download | redmine-f56144063da23f9d586234be2210adaa05a18ab8.tar.gz redmine-f56144063da23f9d586234be2210adaa05a18ab8.zip |
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/field_format.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19038 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/field_format.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb index e7c3ffc2b..bc2def962 100644 --- a/lib/redmine/field_format.rb +++ b/lib/redmine/field_format.rb @@ -305,8 +305,12 @@ module Redmine if custom_field.is_required? ''.html_safe else - view.content_tag('label', - view.check_box_tag(tag_name, '__none__', (value == '__none__'), :id => nil, :data => {:disables => "##{tag_id}"}) + l(:button_clear), + view.content_tag( + 'label', + view.check_box_tag( + tag_name, + '__none__', (value == '__none__'), :id => nil, + :data => {:disables => "##{tag_id}"}) + l(:button_clear), :class => 'inline' ) end |