From 57c713c4f9d9343369fca88c37e59eaa68bbca8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 24 Oct 2023 14:01:06 -0400 Subject: [PATCH] Clean copy of webform confirmation template from webform module In preparation for overriding. Ref agaric/sites/agaric-coop#241 --- .../webform/webform-confirmation.html.twig | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 agaric/templates/webform/webform-confirmation.html.twig diff --git a/agaric/templates/webform/webform-confirmation.html.twig b/agaric/templates/webform/webform-confirmation.html.twig new file mode 100644 index 0000000..95499ba --- /dev/null +++ b/agaric/templates/webform/webform-confirmation.html.twig @@ -0,0 +1,34 @@ +{# +/** + * @file + * Default theme implementation to webform confirmation. + * + * Available variables: + * - progress: Progress bar. + * - message: Confirmation message. + * - back_url: URL to the previous webform submission. + * + * @see template_preprocess_webform_confirmation() + * + * @ingroup themeable + */ +#} +{{ attach_library('webform/webform.confirmation') }} + +{% if progress %} + {{ progress }} +{% endif %} + + + + {% if message %} +
{{ message }}
+ {% endif %} + + {% if back %} + + {% endif %} + +