aboutsummaryrefslogtreecommitdiffstats
path: root/demo/templates/frag_aside.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'demo/templates/frag_aside.html.j2')
-rw-r--r--demo/templates/frag_aside.html.j227
1 files changed, 27 insertions, 0 deletions
diff --git a/demo/templates/frag_aside.html.j2 b/demo/templates/frag_aside.html.j2
new file mode 100644
index 0000000..6c5658f
--- /dev/null
+++ b/demo/templates/frag_aside.html.j2
@@ -0,0 +1,27 @@
+{#
+Params
+ selected_form Form fragment to include
+#}
+
+<aside id="aside">
+ <h3>Read operations</h3>
+ <ul>
+ {% 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>
+ {% 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 %}
+</aside>