diff --git a/templates/layouts/_submit.html b/templates/layouts/_submit.html index 19c1eedb67..6737b944b1 100644 --- a/templates/layouts/_submit.html +++ b/templates/layouts/_submit.html @@ -13,7 +13,7 @@

{{ content.title }}

{% block post_title_panel %} {% if content.warning %} {# djlint:off #} - {% call onsPanel({ "variant": "warn"}) %} + {% call onsPanel({ "variant": "warn" }) %}

{{ content.warning }}

{% endcall %} {# djlint:on #} diff --git a/templates/thank-you.html b/templates/thank-you.html index 6c952d5d50..12328fe945 100644 --- a/templates/thank-you.html +++ b/templates/thank-you.html @@ -32,7 +32,7 @@ {# djlint:off #} {% call onsPanel({ - "type": "success", + "variant": "success", "iconType": "check", "iconSize": "xl", "classes": "ons-u-mb-m"