{% csrf_token %} {% if field_name == 'brand' or field_name == 'categories' or field_name == 'tags' %} {% include 'backoffice/products/_combobox.html' %} {% else %} {{ form.as_p }} {% endif %}