Skip to content

Commit

Permalink
refactor a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Beverly Nguyen authored and Beverly Nguyen committed Dec 10, 2024
1 parent 27abdc6 commit 1f3d202
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions app/templates/views/send-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@


{% block skipLink %}
{% set skipLink = usaSkipLink({
"href": '#main-content',
"text": 'Skip to main content'
}) %}
{% if errors %}
<div>
{{ usaSkipLink({
"href": '#main-content',
"text": 'Skip to main content'
}) }}
</div>
<div>{{ skipLink }}</div>
{% else %}
{{ usaSkipLink({
"href": '#main-content',
"text": 'Skip to main content'
}) }}
{{ skipLink }}
{% endif %}
{% endblock %}

Expand Down

0 comments on commit 1f3d202

Please sign in to comment.