{% load i18n static %} {% if type == "horizontal" %} {% include "django_html_utils/form/horizontal.html" %} {% elif type == "inline" %} {% include "django_html_utils/form/inline.html" %} {% elif type == "vertical" %} {% include "django_html_utils/form/vertical.html" %} {% endif %}