@register.inclusion_tag('admin/submit_line.html', takes_context=True)
def submit_row_extended(context):
    opts = context['opts']
    change = context['change']
    is_popup = context['is_popup']
    delete_button_name = context.get('delete_button_name', 'Delete')
    # TODO:
    # show_delete_link permission name should be parametrized
    ctx = {
        'opts': opts,
        'onclick_attrib': (change and 'onclick="submitOrderForm();"' or ''),
        'show_delete_link': (not is_popup and context['has_delete_permission']
                             and change and context.get('show_delete', True)),
        'is_popup': is_popup,
        'show_save': True,
        'delete_button_name': delete_button_name

    }
    if context.get('original') is not None:
        ctx['original'] = context['original']
    return ctx
Pack value into the array storage at *ptr*.
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/dbaas/templatetags/dbaas_tags.py/submit_row_extended--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.pack_value