Skip to content

Commit

Permalink
Fix panel implementation on thank you page (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar authored Nov 11, 2024
1 parent f4194d3 commit ed9626a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/layouts/_submit.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="ons-u-mt-m">{{ content.title }}</h1>
{% block post_title_panel %}
{% if content.warning %}
{# djlint:off #}
{% call onsPanel({ "variant": "warn"}) %}
{% call onsPanel({ "variant": "warn" }) %}
<p data-qa="warning">{{ content.warning }}</p>
{% endcall %}
{# djlint:on #}
Expand Down
2 changes: 1 addition & 1 deletion templates/thank-you.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{# djlint:off #}
{% call
onsPanel({
"type": "success",
"variant": "success",
"iconType": "check",
"iconSize": "xl",
"classes": "ons-u-mb-m"
Expand Down

0 comments on commit ed9626a

Please sign in to comment.