diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-04-14 22:45:31 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-04-14 22:45:31 +0100 |
commit | 23df89cf319f05cbad4cb769c05c5699fe9d3f4a (patch) | |
tree | b2fdc953496cd2fd0b7c75fdf4e65a022b730581 /templates/svxfile.html | |
parent | d1d0c24ed8864e88f1f6e74c5ac5776fdeaf6f5a (diff) | |
download | troggle-23df89cf319f05cbad4cb769c05c5699fe9d3f4a.tar.gz troggle-23df89cf319f05cbad4cb769c05c5699fe9d3f4a.tar.bz2 troggle-23df89cf319f05cbad4cb769c05c5699fe9d3f4a.zip |
Fix CSRF issues in svx form
Set date formats
Add DataIssue model and add errors to it to allow us to give people a list of
stuff to fix
Diffstat (limited to 'templates/svxfile.html')
-rw-r--r-- | templates/svxfile.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/svxfile.html b/templates/svxfile.html index e1ed097..b92f067 100644 --- a/templates/svxfile.html +++ b/templates/svxfile.html @@ -46,7 +46,7 @@ $(document).ready(function() </p> {% endif %} -<form id="codewikiform" action="" method="POST"> +<form id="codewikiform" action="" method="POST">{% csrf_token %} <div class="codeframebit">{{form.code}}</div> <div style="display:none">{{form.filename}} {{form.dirname}} {{form.datetime}} {{form.outputtype}}</div> <input type="submit" name="diff" value="Diffy" /> |