mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 09:18:24 -04:00
refactor a bit
This commit is contained in:
@@ -14,18 +14,14 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block skipLink %}
|
{% block skipLink %}
|
||||||
|
{% set skipLink = usaSkipLink({
|
||||||
|
"href": '#main-content',
|
||||||
|
"text": 'Skip to main content'
|
||||||
|
}) %}
|
||||||
{% if errors %}
|
{% if errors %}
|
||||||
<div>
|
<div>{{ skipLink }}</div>
|
||||||
{{ usaSkipLink({
|
|
||||||
"href": '#main-content',
|
|
||||||
"text": 'Skip to main content'
|
|
||||||
}) }}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ usaSkipLink({
|
{{ skipLink }}
|
||||||
"href": '#main-content',
|
|
||||||
"text": 'Skip to main content'
|
|
||||||
}) }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user