Enable aria-described in row for all Templates

This commit is contained in:
Mathieu Piot 2018-03-01 11:46:46 +01:00 committed by Mathieu Piot
parent 98065d38b5
commit fd53bc579a
4 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@
{% block form_row -%}
<div class="form-group{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}">
{{- form_label(form) -}}
{{- form_widget(form) -}}
{{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
{{- form_help(form) -}}
{{- form_errors(form) -}}
</div>

View File

@ -259,7 +259,7 @@
{%- endif -%}
<{{ element|default('div') }} class="form-group">
{{- form_label(form) -}}
{{- form_widget(form) -}}
{{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
{{- form_help(form) -}}
</{{ element|default('div') }}>
{%- endblock form_row %}

View File

@ -7,7 +7,7 @@
</td>
<td>
{{- form_errors(form) -}}
{{- form_widget(form) -}}
{{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
{{- form_help(form) -}}
</td>
</tr>

View File

@ -270,7 +270,7 @@
<div class="row">
<div class="large-12 columns{% if (not compound or force_error|default(false)) and not valid %} error{% endif %}">
{{ form_label(form) }}
{{ form_widget(form) }}
{{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
{{ form_help(form) }}
{{ form_errors(form) }}
</div>