From e106697361c6709e56a041d5458be5caffc1cb9e Mon Sep 17 00:00:00 2001 From: Arnaud Levy Date: Tue, 14 Jul 2026 10:38:35 +0200 Subject: [PATCH 1/2] Formulaire --- layouts/_partials/blocks/templates/form.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 layouts/_partials/blocks/templates/form.html diff --git a/layouts/_partials/blocks/templates/form.html b/layouts/_partials/blocks/templates/form.html new file mode 100644 index 000000000..03a79f03f --- /dev/null +++ b/layouts/_partials/blocks/templates/form.html @@ -0,0 +1,17 @@ +{{ $block := .block }} +{{ $block_class := partial "blocks/helpers/GetClass" .block }} + +{{ with .block.data }} +
+
+
+ {{ partial "blocks/top.html" $block.top }} + {{ partial "blocks/templates/embed/hooks/after-top.html" $block }} + {{ with .form }} + {{ safeHTML .iframe }} + {{ safeHTML .script }} + {{ end }} +
+
+
+{{ end }} From 7fd6f5206faa70c0ef73b1c1a33d884fe1e5af1f Mon Sep 17 00:00:00 2001 From: Alexis BENOIT Date: Fri, 17 Jul 2026 13:23:38 +0200 Subject: [PATCH 2/2] lint --- .hugolint | 1 + 1 file changed, 1 insertion(+) diff --git a/.hugolint b/.hugolint index 1770b49bc..c6345cf59 100644 --- a/.hugolint +++ b/.hugolint @@ -28,6 +28,7 @@ engines: - _partials/blocks/templates/embed.html - _partials/blocks/templates/features.html - _partials/blocks/templates/files.html + - _partials/blocks/templates/form.html - _partials/blocks/templates/gallery.html - _partials/blocks/templates/image.html - _partials/blocks/templates/jobs.html