forked from leftypol/leftypol
view_ip.html: use ?/IP endpoint to remove bans and add notes
This commit is contained in:
parent
e52465753e
commit
7c982da304
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if mod|hasPermission(config.mod.create_notes) %}
|
||||
<form action="" method="post" style="margin:0">
|
||||
<form action="?/IP/{{ ip|url_encode(true) }}" method="post" style="margin:0">
|
||||
<input type="hidden" name="token" value="{{ security_token }}">
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<legend>{{ bans|count }} {% trans bans_on_record %}</legend>
|
||||
|
||||
{% for ban in bans %}
|
||||
<form action="" method="post" style="text-align:center">
|
||||
<form action="?/IP/{{ ip|url_encode(true) }}" method="post" style="text-align:center">
|
||||
<input type="hidden" name="token" value="{{ security_token }}">
|
||||
<table style="width:400px;margin-bottom:10px;border-bottom:1px solid #ddd;padding:5px">
|
||||
<tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue