forked from fixin.me/fixin.me
Display resource error messages beside form
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user