Ghost/core/client/validators
David Arvelo 78affdedb1 Better handling of validation errors + more documentation
closes #3153
- this is all about the validation engine
- add a option, `opts.model`, to use a passed-in model directly if needed
- handle validators that return an array of strings, array of objects, or both
- ajax util returns either an array of errors or a single concat'd string
- remove formatErrors function from the mixin and make it private
- allow validation options to be passed into `.save()` since ember-data doesn't take params on `.save()` anyway
- streamline control flow
2014-06-30 22:35:03 -04:00
..
forgotten.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
post.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
reset.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
setting.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
setup.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
signin.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
signup.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00