@register.inclusion_tag('admin/submit_line.html', takes_context=True)
def submit_row_extended_save_continue(context):
    opts = context['opts']
    change = context['change']
    is_popup = context['is_popup']
    save_as = context['save_as']
    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)),
        'show_save_as_new': not is_popup and change and save_as,
        'show_save_and_add_another': context['has_add_permission'] and
        not is_popup and (not save_as or context['add']),
        'show_save_and_continue': not is_popup and context['has_change_permission'],
        '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
Test that when logging in as a user without existing customer account,
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/dbaas/templatetags/dbaas_tags.py/submit_row_extended_save_continue--crossover with--dataset/ETHPy150Open awesto/django-shop/testshop/skip_test_customer.py/CustomerTest.test_associate_customer_on_login