

def render(self, form, form_style, context, template_pack=TEMPLATE_PACK, extra_context=None, **kwargs):
    extra_context = {
        'crispy_appended_text': form.appended_text,
        'crispy_prepended_text': self.prepended_text,
        'input_size': self.input_size,
        'active': getattr(self, 'active', False),
    }
    if hasattr(self, 'wrapper_class'):
        extra_context['wrapper_class'] = self.wrapper_class
    template = self.get_template_name(template_pack)
    return render_field(self.field, form, form_style, context, template=template, attrs=self.attrs, template_pack=template_pack, extra_context=extra_context, **kwargs)

dataset/ETHPy150Open maraujop/django-crispy-forms/crispy_forms/bootstrap.py PrependedAppendedText.render/VarMisuse@33/51 `self`->`form`