app/helpers/katello/katello_form_builder.rb in katello-2.4.5 vs app/helpers/katello/katello_form_builder.rb in katello-3.0.0.rc1
- old
+ new
@@ -44,10 +44,9 @@
options[:editable] = true if options[:editable].nil?
options[:type] ||= "edit_panel_element"
tag_options = {}
tag_options[:name] = "%s[%s]" % [@object_name, name.to_s]
- # rubocop:disable SymbolName
tag_options[:'data-url'] = options[:'data-url'] || options[:data_url] || @options[:data_url]
tag_options.update(options[:tag]) if options.key? :tag
css_class = "%s " % options[:class].to_s
css_class += "editable %s" % options[:type].to_s if options[:editable]