{% for row in pdf.components %}
{% if row is sequence %}
{% for component in row %}
{% include component.template_path %}
{% endfor %}
{% else %} {% with component=row %} {% include component.template_path %} {% endwith %} {% endif %}
{% endfor %}