@contextfunction
def easy_invite_block(context, emails=None):
    "The humanized datetime of the last update to an object"
    if emails is None:
        emails = []
    request = context['request']

    response_format = 'html'
    if 'response_format' in context:
        response_format = context['response_format']

    return Markup(render_to_string('core/tags/easy_invite',
                                   {'emails': emails, },
                                   context_instance=RequestContext(request),
                                   response_format=response_format))
dataset/ETHPy150Open treeio/treeio/treeio/core/templatetags/object.py/easy_invite_block/original