Refactored has_voted

This commit is contained in:
2016-12-23 23:49:00 +01:00
parent 37decde04d
commit 9d9c86ea0f
4 changed files with 41 additions and 21 deletions

View File

@ -0,0 +1,13 @@
{% extends "core/base.jinja" %}
{% block title %}
{% trans %}Candidate{% endtrans %}
{% endblock %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ form.as_p() }}
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>
{% endblock content %}