mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
add role alert in template include
This commit is contained in:
parent
53abc155fb
commit
79af4e6d33
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<div id="form-errors">
|
<div id="form-errors">
|
||||||
{% for error in form.non_field_errors %}
|
{% for error in form.non_field_errors %}
|
||||||
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" role="alert" tabindex="0">
|
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" role="alert">
|
||||||
<div class="usa-alert__body">
|
<div class="usa-alert__body">
|
||||||
<span class="usa-sr-only">Error:</span>
|
<span class="usa-sr-only">Error:</span>
|
||||||
{{ error|escape }}
|
{{ error|escape }}
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for field in form %}
|
{% for field in form %}
|
||||||
{% for error in field.errors %}
|
{% for error in field.errors %}
|
||||||
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" tabindex="0">
|
<div class="usa-alert usa-alert--error usa-alert--slim margin-bottom-2" role="alert">
|
||||||
<div class="usa-alert__body">
|
<div class="usa-alert__body">
|
||||||
<span class="usa-sr-only">Error:</span>
|
<span class="usa-sr-only">Error:</span>
|
||||||
{{ error|escape }}
|
{{ error|escape }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue