Skip to content

Commit

Permalink
refactor: rubocop update
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset committed Dec 3, 2024
1 parent c0d9cf1 commit e6bbd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/lib/decidim/legacy_form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def error_for(attribute, options = {})
error_messages = object.errors[attribute].join(", ")
error_messages = error_messages.html_safe if options[:html_safe_errors]
content_tag :p, content_tag(:small, error_messages,
class: class_name.sub("is-invalid-input", ""))
class: class_name.sub("is-invalid-input", ""))
end

private
Expand Down

0 comments on commit e6bbd45

Please sign in to comment.