{% if not component.as_pdf %}

{{ component.title }}

{{ component.form }}
{% if component.components %} {% endif %}
{% endif %}
{% if not component.as_pdf %}
Exportar PDF
{% endif %} {{ component.table|safe }}
{% for component in component.components %} {{ component|safe }}
{% endfor %}