Browse Source

Fix missing CSRF token in agreements cart view

producao
Marcio Mazza 10 years ago
parent
commit
e04f9951d9
  1. 4
      sigi/apps/convenios/templates/convenios/carrinho.html

4
sigi/apps/convenios/templates/convenios/carrinho.html

@ -63,7 +63,7 @@
<li><a href="#tabs-2">Arquivo CSV (Excel, Calc)</a></li> <li><a href="#tabs-2">Arquivo CSV (Excel, Calc)</a></li>
</ul> </ul>
<div id="tabs-1"> <div id="tabs-1">
<form action="../reports/{{ query_str }}" method="post"> <form action="../reports/{{ query_str }}" method="post">{% csrf_token %}
<fieldset> <fieldset>
<legend>Relatório por</legend> <legend>Relatório por</legend>
<ul class="tabs-conteudo"> <ul class="tabs-conteudo">
@ -96,7 +96,7 @@
</form> </form>
</div> </div>
<div id="tabs-2"> <div id="tabs-2">
<form action="../csv/{{query_str}}" method="post"> <form action="../csv/{{query_str}}" method="post">{% csrf_token %}
<fieldset><legend>Escolha os atributos para exportar</legend> <fieldset><legend>Escolha os atributos para exportar</legend>
<ul id="sortable" class="tabs-conteudo"> <ul id="sortable" class="tabs-conteudo">
<li> <li>

Loading…
Cancel
Save