Commit 67630fc9 authored by Sli's avatar Sli

Vote template

parent 9dbff0cd
{% extends "core/base.jinja" %}
{% block title %}
{% trans %}Vote{% 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 %}
\ No newline at end of file
......@@ -152,7 +152,7 @@ class VoteFormView(CanCreateMixin, FormView):
Alows users to vote
"""
form_class = VoteForm
template_name = 'core/page_prop.jinja'
template_name = 'election/vote_form.jinja'
def dispatch(self, request, *arg, **kwargs):
self.election_id = kwargs['election_id']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment