<commit_before>"""
Templatetags for Patient Lists
"""
from django import template

register = template.Library()

@register.inclusion_tag('patient_lists/tabbed_list_group_base.html', takes_context=True)
def tabbed_list_group(context):
    group = context['list_group']
    user = context['request'].user
    members = group.get_member_lists_for_user(user)
    active_list = context['patient_list']
    return dict(
        active_list=active_list,
        members=members,
    )<commit_msg>Re-point tabbed_list template<commit_after>"""
Templatetags for Patient Lists
"""
from django import template

register = template.Library()

@register.inclusion_tag('patient_lists/tabbed_list_group.html', takes_context=True)
def tabbed_list_group(context):
    group = context['list_group']
    user = context['request'].user
    members = group.get_member_lists_for_user(user)
    active_list = context['patient_list']
    return dict(
        active_list=active_list,
        members=members,
    )
{'fraction_non_alphanumeric': 0.10595358224016145, 'fraction_numerical': 0.0, 'mean_word_length': 4.975903614457831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5089150', 'n_tokens_mistral': 306, 'n_tokens_neox': 302, 'n_words': 56}