From f56144063da23f9d586234be2210adaa05a18ab8 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 17:10:02 +0000 Subject: [PATCH] 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 --- lib/redmine/field_format.rb | 8 ++++++-- 1 file 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 -- 2.39.5