aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libpathod/templates/request_previewform.html9
-rw-r--r--libpathod/templates/response_previewform.html9
-rw-r--r--test/test_app.py3
3 files changed, 16 insertions, 5 deletions
diff --git a/libpathod/templates/request_previewform.html b/libpathod/templates/request_previewform.html
index accb1631..a7130da0 100644
--- a/libpathod/templates/request_previewform.html
+++ b/libpathod/templates/request_previewform.html
@@ -1,4 +1,11 @@
<form class="form-inline" method="GET" action="/request_preview">
- <input id="spec" name="spec" class="input-medium search-query" value="{{spec}}">
+ <input
+ style="width: 20em"
+ id="spec"
+ name="spec"
+ class="input-medium search-query"
+ value="{{spec}}"
+ placeholder="method:path:[features]"
+ >
<input type="submit" class="btn" value="preview">
</form>
diff --git a/libpathod/templates/response_previewform.html b/libpathod/templates/response_previewform.html
index d98a72f7..a82535e4 100644
--- a/libpathod/templates/response_previewform.html
+++ b/libpathod/templates/response_previewform.html
@@ -1,5 +1,12 @@
<form class="form-inline" method="GET" action="/response_preview">
- <input id="spec" name="spec" class="input-medium search-query" value="{{spec}}">
+ <input
+ style="width: 20em"
+ id="spec"
+ name="spec"
+ class="input-medium search-query"
+ value="{{spec}}"
+ placeholder="code[msg]:[features]"
+ >
<input type="submit" class="btn" value="preview">
{% if not nocraft %}
<a href="#" id="submitspec" class="btn">go to</a>
diff --git a/test/test_app.py b/test/test_app.py
index 8070996f..699c9c41 100644
--- a/test/test_app.py
+++ b/test/test_app.py
@@ -59,6 +59,3 @@ class TestApp(tutils.DaemonTests):
assert r.status_code == 200
assert 'Request' in r.content
-
-
-