{% if form.visible_fields %} {% if not oneline %}
{% endif %} {% if form.is_tabbed %} {% include 'cubane/form/form_header.html' %}
{% for tab in form.tabs %}
{% include 'cubane/form/form_content.html' with fields=tab.fields %}
{% endfor %}
{% else %} {% include 'cubane/form/form_header.html' %} {% if not oneline %}
{% endif %} {% include 'cubane/form/form_content.html' with fields=form.visible_fields %} {% if not oneline %}
{% endif %} {% endif %} {% if not oneline %}
{% endif %} {% endif %} {% if not oneline %} {% include 'cubane/form/form_hidden_fields.html' %} {% endif %}