Improved form errors

Places some server-sent form errors inline and colors the form input borders to show their validity.
It's consistent with what I do elsewhere to keep the inject annotations
lined up with the arguments.

I think it'd look a lot nicer in JavaScript because it wouldn't use the
constructor keyword and we wouldn't use `this`.

We could also use a browserify transform that adds the injections for us.
On Jul 7, 2014 2:53 AM, "Aron Carroll" <notifications@github.com> wrote:

> In h/js/controllers.coffee:
>
> > @@ -615,12 +615,8 @@ class Annotation
> >
> >
> >  class Auth
> > -  this.$inject = [
> > -    '$scope', 'session', 'flash'
> > -  ]
> > -  constructor: (
> > -     $scope,   session,   flash
> > -  ) ->
> > +  this.$inject = ['$scope', 'session']
> > +  constructor: (   $scope,   session) ->
>
> Whacky indentation here…
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hypothesis/h/pull/1279/files#r14588433>.
>