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 -
parent 4023ede3d7
commit 694dc1fba5

View File

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