def criteria(request, customer_tax, template_name="manage/customer_tax/criteria.html"):
    criteria = []
    position = 0
    for criterion in customer_tax.get_criteria():
        position += 10
        criterion_html = criterion.render(request, position)
        criteria.append(criterion_html)

    return render_to_string(template_name, RequestContext(request, {
        "customer_tax": customer_tax,
        "criteria": criteria,
    }))
Creates a layer bar button widget. This widget contains both the name of the layer to which it refers and a color swatch
dataset/ETHPy150Open diefenbach/django-lfs/lfs/manage/customer_tax/views.py/criteria--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/windows.py/layerButton