Adding class to error message on building forms