]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/views/labelled_form_builder.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:41 +0000 (17:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 17:10:41 +0000 (17:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19043 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/views/labelled_form_builder.rb

index 3a18505de8e4e64aca9765013117dbf119651f0f..7f39d20ca342a469ca6be150840a6d1fd476dabf 100644 (file)
@@ -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