diff options
| author | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-08-08 08:03:30 +0200 |
|---|---|---|
| committer | Adrien Dorsaz <adrien@adorsaz.ch> | 2013-08-08 08:03:30 +0200 |
| commit | 1872b814dbfd935182d3e0b8166fbb67053d85ee (patch) | |
| tree | 136803022f28f93868ed4e8ca408d0e95985e0f9 /papillon/templates/vote.html | |
| parent | 18b57522b7dcfe210b627bbc665c000cba53b1ae (diff) | |
| download | Papillon-1872b814dbfd935182d3e0b8166fbb67053d85ee.tar.bz2 Papillon-1872b814dbfd935182d3e0b8166fbb67053d85ee.zip | |
Use django to protect forms (except create form, because of other work not commited)
Diffstat (limited to 'papillon/templates/vote.html')
| -rw-r--r-- | papillon/templates/vote.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/papillon/templates/vote.html b/papillon/templates/vote.html index 204f553..8861e6c 100644 --- a/papillon/templates/vote.html +++ b/papillon/templates/vote.html @@ -15,6 +15,7 @@ {% if not poll.open %}<p class='alert'>{% trans "The current poll is closed."%}</p>{% endif %} <p>{{ poll.description|safe }}</p> <form method='post' action='.'> + {% csrf_token %} <div id='poll_table'> <table id='poll'> <tr> |
