Commit 1a34dcda authored by Jean-Baptiste Lenglet's avatar Jean-Baptiste Lenglet Committed by Sli

Changed plain form action to reversed URL.

parent fa9e4e5d
......@@ -245,7 +245,7 @@ th {
{%- endif %}
</section>
<section class="election__vote">
<form action="/election/1/vote" method="post" class="election__vote-form" name="vote-form" id="vote-form">
<form action="{{url('election:vote', election.id)}}" method="post" class="election__vote-form" name="vote-form" id="vote-form">
{% csrf_token %}
<table>
{%- set election_lists = election.election_list.all() -%}
......
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