{% for test_plan in test_plans %}
Author
Product
{{ test_plan.product }}
Version
{{ test_plan.product_version }}
Plan Type
{{ test_plan.type.name }}
Parent
{{ test_plan.parent.pk }}
Reference Link
{% if test_plan.extra_link %} {{ test_plan.extra_link }} {% else %} None {% endif %}
Document
{{ test_plan.latest_text.plan_text|safe }}
{% if not forloop.last %}
{% endif %} {% empty %}

The plan you specific does not exist in database.

{% endfor %}