aboutsummaryrefslogtreecommitdiffstats
path: root/demo/templates/frag_aside_link.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'demo/templates/frag_aside_link.html.j2')
-rw-r--r--demo/templates/frag_aside_link.html.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/demo/templates/frag_aside_link.html.j2 b/demo/templates/frag_aside_link.html.j2
new file mode 100644
index 0000000..9cd6041
--- /dev/null
+++ b/demo/templates/frag_aside_link.html.j2
@@ -0,0 +1,9 @@
+{#
+Params
+ text Text to render in the link
+ href URL to link to
+#}
+
+<form method="GET" action="{{ href }}" htmp replace=form_query>
+ <button class="link" type="submit">{{ text }}</button>
+</form>