]> source.dussan.org Git - redmine.git/commitdiff
add empty line after guard clause to lib/redmine/views/labelled_form_builder.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 3 Nov 2020 14:56:05 +0000 (14:56 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 3 Nov 2020 14:56:05 +0000 (14:56 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20238 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/views/labelled_form_builder.rb

index 879dbc76b19e701f6a5fe134c6bb4cf5ee3a775d..7c860759f6344c6cbb5d904cad2cfd9de026ee5f 100644 (file)
@@ -56,6 +56,7 @@ class Redmine::Views::LabelledFormBuilder < ActionView::Helpers::FormBuilder
   # Returns a label tag for the given field
   def label_for_field(field, options = {})
     return ''.html_safe if options.delete(:no_label)
+
     text = options[:label].is_a?(Symbol) ? l(options[:label]) : options[:label]
     text ||= @object.class.human_attribute_name(field)
     text += @template.content_tag("span", " *", :class => "required") if options.delete(:required)