mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
Changed plain form action to reversed URL.
This commit is contained in:
parent
fa9e4e5dc6
commit
1a34dcdafe
@ -245,7 +245,7 @@ th {
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
</section>
|
</section>
|
||||||
<section class="election__vote">
|
<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 %}
|
{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
{%- set election_lists = election.election_list.all() -%}
|
{%- set election_lists = election.election_list.all() -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user