Skip to content

Instantly share code, notes, and snippets.

View m0dd3r's full-sized avatar

Jason Rankin m0dd3r

  • BatchBlue Software
  • Providence, RI
View GitHub Profile
@bsimpson
bsimpson / gist:2312761
Created April 5, 2012 17:40
Error message display

Introduction

Error messages are currently not handled in a consistent manner in Batchdeux's forms. I have modified the field_error_proc method which serves as a global way to change the behavior of form errors. By modifying this, I have given us the option to display errors in several ways:

Demo

git fetch
git checkout bls/23176299_data_validation_errors

Be sure to restart your webserver, as changes have been made to the config/ directory