From 314f00ac2f873fc77e0fa98d0d9c7d0a484e27f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Wed, 20 May 2015 16:23:26 +0200 Subject: [PATCH] Add missing form_errors calls. No integration currently done. Should be handled before release PHRAS-534 --- templates/web/admin/setup.html.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/web/admin/setup.html.twig b/templates/web/admin/setup.html.twig index dbe7786bb3..e6f2261e19 100644 --- a/templates/web/admin/setup.html.twig +++ b/templates/web/admin/setup.html.twig @@ -32,11 +32,13 @@ {{ form_start(form, {'method': 'POST', 'action' : path('setup_display_globals'), 'attr': {'class' : 'form-horizontal'}}) }} +{{ form_errors(form) }} {% for daform in form %}
{{ daform.vars['label'] }} {% for formdata in daform %}
+ {{ form_errors(formdata) }} {{ form_label(formdata, null, { 'label_attr': {'class' : 'control-label'} } ) }}
{{ form_widget(formdata, {'attr': {'class': 'input-xxlarge'}}) }} @@ -95,4 +97,4 @@ } }); {% endautoescape %} - \ No newline at end of file +