def METHOD_NAME(context, form, showrequired=True):
    return template.loader.render_to_string(
        'form_innards.html',
        {
            'form': form,
            'showrequired': showrequired,
            'csrf_token': context.get('csrf_token', None),
        },
    )