forked from leftypol/leftypol
CSRF more mod pages
This commit is contained in:
parent
00f4da3b82
commit
c8062fbf76
18 changed files with 166 additions and 79 deletions
|
@ -1,7 +1,8 @@
|
|||
{% if bans|count == 0 %}
|
||||
<p style="text-align:center" class="unimportant">({% trans 'There are no active bans.' %})</p>
|
||||
{% else %}
|
||||
<form action="" method="post">
|
||||
<form action="?/bans" method="post">
|
||||
<input type="hidden" name="token" value="{{ token }}">
|
||||
<table class="mod" style="width:100%">
|
||||
<tr>
|
||||
<th>{% trans 'IP address/mask' %}</th>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue