feature #1664: Error messages as single attribute in templates