diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2017-07-11 22:17:59 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2017-07-11 22:21:36 +0200 |
commit | bd0c7c7b3699f2481da0ba8b69204c30396e1f57 (patch) | |
tree | 6f209f815328cf69656986e457665f27d6779c9a /online_check/template.html | |
parent | 81446fd2d42190cd35f5055f9e7792ee432ec602 (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.html | 4 |
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> |