diff options
author | ubq323 <ubq323> | 2021-06-29 00:30:02 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-29 00:30:02 +0000 |
commit | fecd96342a07589f71cac6fc1d28e2f6d3240cbf (patch) | |
tree | ba63731206249cce530d937aaa18820c868925aa /apioforum/templates | |
parent | edbd48340de9add59bcf34f312ae036adae8dcfd (diff) |
retraction of votes
Diffstat (limited to 'apioforum/templates')
-rw-r--r-- | apioforum/templates/view_thread.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apioforum/templates/view_thread.html b/apioforum/templates/view_thread.html index b999658..7bf253d 100644 --- a/apioforum/templates/view_thread.html +++ b/apioforum/templates/view_thread.html @@ -64,8 +64,16 @@ <legend>poll: {{poll.title}}</legend> <p>if you want, you can submit a vote along with this post. if you have previously voted on this poll, your previous vote will be changed</p> + <input type="radio" id="dontvote" name="poll" value="dontvote" checked> <label for="dontvote">do not submit any vote at the moment</label> + + {% if has_voted %} + <br> + <input type="radio" id="retractvote" name="poll" value="retractvote"> + <label for="retractvote">retract my vote, and go back to having no vote on this poll</label> + {% endif %} + {% for opt in poll.options %} <br> <input type="radio" id="option_{{opt.option_idx}}" name="poll" value="{{opt.option_idx}}"> |