ensure premade ban reasons are passed

This commit is contained in:
Lorenzo Yario 2025-04-02 04:04:08 -05:00 committed by GitHub
parent 0866adc89f
commit f27e5a6989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@
<fieldset>
<legend>{% trans 'New ban' %}</legend>
{% set redirect = '?/IP/' ~ ip|cloak_ip ~ '#bans' %}
{% include 'mod/ban_form.html' %}
{% include 'mod/ban_form.html' with { 'reasons': config.premade_ban_reasons } %}
</fieldset>
{% endif %}