aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/templates/preview.html
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-04-29 21:22:00 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-04-29 21:22:00 +1200
commitccd6eeed4b8eafcfd2530057fb645915fe335caf (patch)
treef950def13a56a87c9b8c7eb5dc8ea0ab5d49f33d /libpathod/templates/preview.html
parent1431b36c4a226dc9b57a3334364a0c40162c388f (diff)
downloadmitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.tar.gz
mitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.tar.bz2
mitmproxy-ccd6eeed4b8eafcfd2530057fb645915fe335caf.zip
Make "Go" button on preview form work.
Diffstat (limited to 'libpathod/templates/preview.html')
-rw-r--r--libpathod/templates/preview.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/libpathod/templates/preview.html b/libpathod/templates/preview.html
index 6599362f..63960ebe 100644
--- a/libpathod/templates/preview.html
+++ b/libpathod/templates/preview.html
@@ -20,9 +20,5 @@
<pre>{{ output }}</pre>
{% end %}
- <form class="well form-search" method="GET" action="/preview">
- <input style="width: 30em;" name="spec" class="input-medium search-query" value="{{spec}}">
- <input type="submit" class="btn" value="preview">
- <a href="#" class="btn">go</a>
- </form>
+{% include previewform.html %}
{% end %}