Add hasErrors() method to Form component, plus tweak the form rendering with a PHTML template