diff --git a/web/themes/contrib/civictheme/templates/form/input--submit.html.twig b/web/themes/contrib/civictheme/templates/form/input--submit.html.twig index 9351c4f7a..b0a433827 100644 --- a/web/themes/contrib/civictheme/templates/form/input--submit.html.twig +++ b/web/themes/contrib/civictheme/templates/form/input--submit.html.twig @@ -10,17 +10,18 @@ #} {% if 'secondary' in modifier_class %} - {% set type = 'secondary' %} + {% set type = 'secondary' %} {% else %} - {% set type = 'primary' %} + {% set type = 'primary' %} {% endif %} {% set children %} -{% include "@atoms/button/button.twig" with { + {% include "@atoms/button/button.twig" with { type: type, text: attributes.value, modifier_class: modifier_class, attributes: attributes, - kind: 'submit' + kind: 'submit', + theme: theme } only %} {% endset %} {% include "@molecules/form-element/form-element.twig" with {