mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Changed plain form action to reversed URL.
This commit is contained in:
@ -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() -%}
|
||||
|
Reference in New Issue
Block a user