aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/frag_aside.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'browser/templates/frag_aside.html.j2')
-rw-r--r--browser/templates/frag_aside.html.j221
1 files changed, 17 insertions, 4 deletions
diff --git a/browser/templates/frag_aside.html.j2 b/browser/templates/frag_aside.html.j2
index 7ec10ad..6c5658f 100644
--- a/browser/templates/frag_aside.html.j2
+++ b/browser/templates/frag_aside.html.j2
@@ -1,13 +1,26 @@
+{#
+Params
+ selected_form Form fragment to include
+#}
+
<aside id="aside">
<h3>Read operations</h3>
<ul>
- <li><a href="/find" htmp replace=form_query>Find</a></li>
- <li><a href="/range" htmp replace=form_query>Range</a></li>
+ {% with href="/find", text="Find" %}
+ <li>{% include "frag_aside_link.html.j2" %}</li>
+ {% endwith %}
+ {% with href="/range", text="Range" %}
+ <li>{% include "frag_aside_link.html.j2" %}</li>
+ {% endwith %}
</ul>
<h3>Write operations</h3>
<ul>
- <li><a href="/upsert">Upsert</a></li>
- <li><a href="/delete">Delete</a></li>
+ {% with href="/upsert", text="Upsert" %}
+ <li>{% include "frag_aside_link.html.j2" %}</li>
+ {% endwith %}
+ {% with href="/delete", text="Delete" %}
+ <li>{% include "frag_aside_link.html.j2" %}</li>
+ {% endwith %}
</ul>
{% include selected_form %}