Commit 88e2b6e
Changed files (1)
config
config/application.rb
@@ -27,9 +27,9 @@ module App
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
-
- # Override this to dodge the Rails-injected field_with_errors that tends to break field formatting
- config.action_view.field_error_proc = Proc.new { |html_tag, instance|
+
+ # Override field_with_errors div insertion that breaks field formatting
+ config.action_view.field_error_proc = Proc.new { |html_tag, _instance|
html_tag
}