Feature/create error class to field

Checks the session to see if a error is present for the field and adds a error-class to the wrapper if present.