From f02f54ae98dbfbc87dfbf9e0be2e64a661f8c5e6 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Tue, 25 Jun 2024 19:36:13 +1000 Subject: [PATCH] Removed obsolete template from the Starter kit. --- .../templates/form/_input--submit.html.twig | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 web/themes/contrib/civictheme/civictheme_starter_kit/templates/form/_input--submit.html.twig diff --git a/web/themes/contrib/civictheme/civictheme_starter_kit/templates/form/_input--submit.html.twig b/web/themes/contrib/civictheme/civictheme_starter_kit/templates/form/_input--submit.html.twig deleted file mode 100644 index f85b46e2cc..0000000000 --- a/web/themes/contrib/civictheme/civictheme_starter_kit/templates/form/_input--submit.html.twig +++ /dev/null @@ -1,32 +0,0 @@ -{# -/** - * @file - * CivicTheme implementation to display a 'submit' form element. - * - * Variables: - * - value: [string] value. - * - attributes: [string] Additional attributes. - * - modifier_class: [string] Additional classes. - */ -#} - -{% if 'secondary' in modifier_class %} - {% set type = 'secondary' %} -{% else %} - {% set type = 'primary' %} -{% endif %} -{% set children %} - {% include "@atoms/button/button.twig" with { - type: type, - text: value, - modifier_class: modifier_class, - attributes: attributes, - kind: 'submit', - theme: theme - } only %} -{% endset %} -{% include "@molecules/form-element/form-element.twig" with { - type: 'submit', - children: children, -} only %} -