aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/frag_aside_link.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-02-17 18:19:21 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-02-17 18:19:21 +0200
commitb6bba140654c18687e05874e822cccbef6fea4fa (patch)
tree5af50be15c9d321d5e9d9cffb2cca0b589e76aa9 /browser/templates/frag_aside_link.html.j2
parent001b52fc1b6d2b30b371611f5a8b961e5c6945d3 (diff)
Improve templating
Diffstat (limited to 'browser/templates/frag_aside_link.html.j2')
-rw-r--r--browser/templates/frag_aside_link.html.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/browser/templates/frag_aside_link.html.j2 b/browser/templates/frag_aside_link.html.j2
new file mode 100644
index 0000000..9cd6041
--- /dev/null
+++ b/browser/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>