1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

fix error with this version of twig

Caught fatal error: Uncaught Twig\Error\SyntaxError: Unexpected token "name" of value "group_name" ("name" expected with value "from").

done on
PHP 7.2
Apache
This commit is contained in:
RealAngeleno 2023-04-24 16:28:49 -07:00 committed by GitHub
parent d1724d0da6
commit 144f0e1a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@
{% if group_name != 'Disabled' %}
<li>
<input type="radio" name="type" id="group_{{ group_name }}" value="{{ group_value }}">
<label for="group_{{ group_name }}">{% trans group_name %}</label>
<label for="group_{{ group_name }}">{{ group_name|trans }}</label>
</li>
{% endif %}
{% endfor %}