mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-16 19:23:27 +00:00
Changed plain form action to reversed URL.
This commit is contained in:
parent
fa9e4e5dc6
commit
1a34dcdafe
@ -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() -%}
|
||||
|
Loading…
Reference in New Issue
Block a user