Added logic to handle single help and error strings
Corrected html escaping
Added color form type
Added attributes() method for fields