I think its a simple question. Its about outputting errors. This is my twig file:
{{ form_label(form.d 4条回答 挽巷 (楼主) 2021-02-06 15:31 Can't add comments yet, but I would like to update Kris Wallsmith's answer. Nowadays this block is called form_errors, so in 3rd line it should be {% block field_errors %}. It took me a while to investigate, hopefully someone benefits from that. 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Can't add comments yet, but I would like to update Kris Wallsmith's answer. Nowadays this block is called form_errors, so in 3rd line it should be {% block field_errors %}. It took me a while to investigate, hopefully someone benefits from that.
form_errors
{% block field_errors %}