Remove unneeded html_safe from field_error_proc

This commit is contained in:
cryptogopher 2023-04-25 18:12:17 +02:00
parent 60b7c2a0bd
commit 24f6966027

View File

@ -5,4 +5,4 @@ require_relative "application"
Rails.application.initialize!
# Disable field_with_errors div wrapper for form inputs
ActionView::Base.field_error_proc = Proc.new { |html_tag, instance| html_tag.html_safe }
ActionView::Base.field_error_proc = Proc.new { |html_tag, instance| html_tag }