From e9902369693486e3b54494157826a89e2434bdb5 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 17:10:41 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/views/labelled_form_builder.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19043 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/views/labelled_form_builder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/redmine/views/labelled_form_builder.rb b/lib/redmine/views/labelled_form_builder.rb index 3a18505de..7f39d20ca 100644 --- a/lib/redmine/views/labelled_form_builder.rb +++ b/lib/redmine/views/labelled_form_builder.rb @@ -60,7 +60,7 @@ class Redmine::Views::LabelledFormBuilder < ActionView::Helpers::FormBuilder text ||= @object.class.human_attribute_name(field) text += @template.content_tag("span", " *", :class => "required") if options.delete(:required) @template.content_tag("label", text.html_safe, - :class => (@object && @object.errors[field].present? ? "error" : nil), - :for => (@object_name.to_s + "_" + field.to_s)) + :class => (@object && @object.errors[field].present? ? "error" : nil), + :for => (@object_name.to_s + "_" + field.to_s)) end end -- 2.39.5