Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Cosmetics

Patryk Zawadzki5968064ae5fb
diff --git a/saleor/templatetags/bootstrap.py b/saleor/templatetags/bootstrap.py
index d6eb304e8c..154a7d47e1 100644
--- a/saleor/templatetags/bootstrap.py
+++ b/saleor/templatetags/bootstrap.py
@@ -65,6 +65,7 @@ def as_vertical_form(obj, show_label=True):
return as_bootstrap(obj=obj, show_label=show_label,
template=TEMPLATE_VERTICAL)
+
@register.simple_tag
def render_widget(obj, **attrs):
return obj.as_widget(attrs=attrs)