From 120a42476ae8f5bcb06441292e8449120b5935ff Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 6 Nov 2022 11:21:38 +0100 Subject: [PATCH] templates/macros: Allow embeddings into post_form --- server/templates/macros.htm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/templates/macros.htm b/server/templates/macros.htm index 3908e36..b05c6c0 100644 --- a/server/templates/macros.htm +++ b/server/templates/macros.htm @@ -103,6 +103,9 @@ {% macro post_form(uri, key, val, text, fragment="") %}
{{ hidden_redirect_back(fragment=fragment) }} + {% if caller is defined %} + {{ caller() }} + {% endif %}
{% endmacro %}