aboutsummaryrefslogtreecommitdiffstats
path: root/browser/templates/frag_form_find.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-02-11 12:12:37 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-02-11 12:13:00 +0200
commite8f3a470ce693bef9303d3dd4c46523cdc691826 (patch)
treed5d33eb96de070ccfa2b138295b623a8516cf7ad /browser/templates/frag_form_find.html.j2
parentcc07b3fdc4b8860a1ee1b25f09039ba3f13ee509 (diff)
Add structure, introduce progressive enhancement
Diffstat (limited to 'browser/templates/frag_form_find.html.j2')
-rw-r--r--browser/templates/frag_form_find.html.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/browser/templates/frag_form_find.html.j2 b/browser/templates/frag_form_find.html.j2
new file mode 100644
index 0000000..a8fe493
--- /dev/null
+++ b/browser/templates/frag_form_find.html.j2
@@ -0,0 +1,7 @@
+<form action="/find" method="post" htmz replace=main>
+ <label for="field">Field</label>
+ <input type="text" name="field" id="field" required>
+ <label for="values">Values</label>
+ <input type="text" name="values" id="values" required>
+ <button type="submit">Run query</button>
+</form>