mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add missing form_errors calls.
No integration currently done. Should be handled before release PHRAS-534
This commit is contained in:
@@ -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 %}
|
||||
<fieldset>
|
||||
<legend>{{ daform.vars['label'] }}</legend>
|
||||
{% for formdata in daform %}
|
||||
<div class="control-group">
|
||||
{{ form_errors(formdata) }}
|
||||
{{ form_label(formdata, null, { 'label_attr': {'class' : 'control-label'} } ) }}
|
||||
<div class="controls">
|
||||
{{ form_widget(formdata, {'attr': {'class': 'input-xxlarge'}}) }}
|
||||
@@ -95,4 +97,4 @@
|
||||
}
|
||||
});
|
||||
{% endautoescape %}
|
||||
</script>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user