<commit_before><commit_msg>[edit] overwrite from https://github.com/zotonic/zotonic/commit/35102132f4c5f2a0ff7602471862ef4febc013c7 mod_acl_user_groups: show default user group if user is not member of…<commit_after><div class="col-md-6">
    <div class="well">
        <h4 style="margin-top: 0">{_ User groups _}</h4>

        {% with id.o.hasusergroup|default:(m.identity.is_user|if:[m.rsc.acl_user_group_members.id]:[]) as ugs %}
	        {% for cg in m.hierarchy.acl_user_group.tree_flat %}
	            <div class="checkbox">
			        <label>{{ cg.indent }} <input name="hasusergroup" value="{{ cg.id }}" type="checkbox" {% if cg.id|member:ugs %}checked="checked"{% endif %} /> {{ cg.id.title }}</label>
	            </div>
	        {% endfor %}
	    {% endwith %}

    </div>
</div>
{'fraction_non_alphanumeric': 0.17721518987341772, 'fraction_numerical': 0.039240506329113925, 'mean_word_length': 3.3224043715846996, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6878125', 'n_tokens_mistral': 320, 'n_tokens_neox': 276, 'n_words': 52}