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