Display resource error messages beside form

This commit is contained in:
2023-04-20 23:22:03 +02:00
parent 85beaf23fd
commit 86798d8e39
8 changed files with 22 additions and 26 deletions

View File

@@ -3,3 +3,6 @@ require_relative "application"
# Initialize the Rails 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 }