Changed class from .error to .has-error

Fixed for bootstrap: http://getbootstrap.com/css/#forms-control-validation