Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/online_check/template.html
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2017-07-11 22:17:59 +0200
committerArthur de Jong <arthur@arthurdejong.org>2017-07-11 22:21:36 +0200
commitbd0c7c7b3699f2481da0ba8b69204c30396e1f57 (patch)
tree6f209f815328cf69656986e457665f27d6779c9a /online_check/template.html
parent81446fd2d42190cd35f5055f9e7792ee432ec602 (diff)
Include search term in online form
This also makes the Javascript regular expression used for highlighting links the same as the Python equivalent.
Diffstat (limited to 'online_check/template.html')
-rw-r--r--online_check/template.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/online_check/template.html b/online_check/template.html
index fac5cf5..63cd9ea 100644
--- a/online_check/template.html
+++ b/online_check/template.html
@@ -15,9 +15,9 @@
which it is valid.
</p>
<form>
- <input id="number" name="number" type="text" value="" class="stdnum_check" placeholder="Enter number here">
+ <input id="number" name="number" type="text" value="%(value)s" class="stdnum_check" placeholder="Enter number here">
<input type="submit" value="Check" class="stdnum_hide">
</form>
- <div id="number_results"><ul>%s</ul></div>
+ <div id="number_results"><ul>%(results)s</ul></div>
</body>
</html>