From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 17:10:02 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/field_format.rb X-Git-Tag: 4.1.0~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f56144063da23f9d586234be2210adaa05a18ab8;p=redmine.git 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 --- 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