def link_to_if(condition, label, url='', **attrs):
    if condition:
        return link_to(label, url, **attrs)
    else:
        return HTML(label)
Same as ``link_to`` but return just the label if the condition is false.
dataset/ETHPy150Open mikeorr/WebHelpers2/webhelpers2/html/tags.py/link_to_if