Enable aria-described in row for all Templates
This commit is contained in:
parent
98065d38b5
commit
fd53bc579a
@ -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>
|
||||
|
@ -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 %}
|
||||
|
@ -7,7 +7,7 @@
|
||||
</td>
|
||||
<td>
|
||||
{{- form_errors(form) -}}
|
||||
{{- form_widget(form) -}}
|
||||
{{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
|
||||
{{- form_help(form) -}}
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user