From f27e5a6989e95862c924691c45a449fc8793bdcf Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Wed, 2 Apr 2025 04:04:08 -0500 Subject: [PATCH] ensure premade ban reasons are passed --- templates/mod/view_ip.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index 867312c4..e4871275 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -103,7 +103,7 @@
{% trans 'New ban' %} {% set redirect = '?/IP/' ~ ip|cloak_ip ~ '#bans' %} - {% include 'mod/ban_form.html' %} + {% include 'mod/ban_form.html' with { 'reasons': config.premade_ban_reasons } %}
{% endif %}