summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 17:10:41 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 17:10:41 +0000
commite9902369693486e3b54494157826a89e2434bdb5 (patch)
tree1e8d9421fed4c90cbc8501554807f2c26c4ded2b /lib/redmine
parent86e0d79c31e106e2f9b25b140af5e9968a31850e (diff)
downloadredmine-e9902369693486e3b54494157826a89e2434bdb5.tar.gz
redmine-e9902369693486e3b54494157826a89e2434bdb5.zip
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
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/views/labelled_form_builder.rb4
1 files 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