From e6bbd45b694504587d449e262587ae04a315c531 Mon Sep 17 00:00:00 2001 From: stephanie rousset Date: Tue, 3 Dec 2024 17:08:12 +0100 Subject: [PATCH] refactor: rubocop update --- decidim-core/lib/decidim/legacy_form_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decidim-core/lib/decidim/legacy_form_builder.rb b/decidim-core/lib/decidim/legacy_form_builder.rb index efe0e84ee2a48..64167c3e5d185 100644 --- a/decidim-core/lib/decidim/legacy_form_builder.rb +++ b/decidim-core/lib/decidim/legacy_form_builder.rb @@ -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