leftypol_vichan/templates/mod/edit_ban.html
perdedora 94c98765b3 feat: edit pre-existing bans (#528)
* feat: edit pre-existing bans

* change default permission

* theres no need for elseif here. related: d34f083a6b33185927c6b79a38477f4ea4ce49b5

* quote href param

* changes made
2024-01-30 10:05:43 -01:00

15 lines
628 B
HTML

<p style="text-align: center">
{% trans %}The previous ban will be replaced by the edited ban and the ban duration will start from the time of the edit.<br/>
The ban public message will <strong>not</strong> be changed.{% endtrans %}
</p>
<hr>
{% for ban in bans %}
<h2 style="text-align:center">{% trans %}Current ban{% endtrans %}</h2>
<form style="text-align:center; margin-bottom: unset"> {# dummy form to trigger css rules #}
{% include 'mod/ban_history.html' %}
</form>
<hr>
<h2 style="text-align:center">{% trans %}New ban{% endtrans %}</h2>
{% include 'mod/ban_form.html' with {'edit_ban': true} %}
{% endfor %}