Use prepared group selection state in admin template

This commit is contained in:
Terranom674
2026-08-16 12:53:59 +02:00
parent 8b50ad5b9e
commit 2858a42f1c

View File

@@ -21,7 +21,7 @@
{if $PUBLIC_SELECTION_GROUPS|@count}
{foreach from=$PUBLIC_SELECTION_GROUPS item=group}
<label style="display:block;margin-bottom:5px;">
<input type="checkbox" name="selection_groups[]" value="{$group.id}" {if in_array($group.id, $PUBLIC_SELECTION.groups)}checked{/if}>
<input type="checkbox" name="selection_groups[]" value="{$group.id}" {if $group.selected}checked{/if}>
{$group.name|escape:html}
</label>
{/foreach}