• Randall Leeds's avatar
    Move form-wide response error code to formHelpers · dab18b67
    Randall Leeds authored
    Add an (optional) third argument to the method
    `formHelpers#applyValidationErrors()` that can take an error string,
    ``reason``, to set on the form itself, rather than any particular
    field. Remove the duplicate code in the auth directive to reset
    the response errors on each field, which is handled already in the
    ``form-input`` directive.
    dab18b67
auth-test.coffee 3.31 KB