mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-13 06:06:06 +00:00
Changed plain form action to reversed URL.
This commit is contained in:
1 parent
fa9e4e5dc6
commit
1a34dcdafe
1 file changed
+1
-1
@@ -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() -%}
|
||||||
|
|||||||
Reference in new issue
Block a user