@library.filter
def class_selected(a, b):
    if a == b:
        return jinja2.Markup('class="selected"')
    else:
        return ''
Return 'class="selected"' if a == b, otherwise return ''.
dataset/ETHPy150Open mozilla/kitsune/kitsune/sumo/templatetags/jinja_helpers.py/class_selected