This line should be preserved in the else bracket below; otherwise the csrf label/field will render as visible in the form.