Fixed errors template to show errors by correcting the "post" Method