<div class="container pb-5">
    {% load django_tables2 %}


    {% if created_relations %}
    <div class="container pt-5 pb-2 text-center">
        <h1 class="display-4">Created Relations</h1>
    </div>
    {% for tit, table in created_relations %}
    <div class="container pt-4 pb-2 px-0">

        <h3 class="h3">{{tit}}</h3>
    </div>
    <div class="container pb-4 ml-3">

        {% render_table table %}
    </div>
    {% endfor %}
    {% endif %}

    {% if created_entities %}
    <div class="container pt-5 pb-2 text-center">
        <h1 class="display-4">Created Entities</h1>
    </div>
    {% for tit, table in created_entities %}
    <div class="container pt-4 pb-2 px-0">
        <h3 class="h3">{{tit}}</h3>
    </div>
    <div class="container pb-4 ml-3">
        {% render_table table %}
    </div>
    {% endfor %}
    {% endif %}

    {% if created_other %}
    <div class="container pt-5 pb-2 text-center">
        <h1 class="display-4">Created Other</h1>
    </div>
    {% for tit, values in created_other%}
    <div class="container text-left pt4 pb-2 px-0">

        <h3 class="h3">{{tit}}</h3>
    </div>
    <div class="container ml-5 pb-4 pr-5">
        <p>{{values|join:'&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;'}}</p>
    </div>

    {% endfor %}
    {% endif %}

</div>