{% if diff is not none and previous_schema is not none and ('_before' in diff or '_after' in diff) %} {% set current_schema = schema %} {% if '_before' in diff %}
{% set data = diff['_before'] %} {% set schema = previous_schema %} {% include get_view_template(schema, container_style) %}
{% endif %} {% if '_after' in diff %}
{% set data = diff['_after'] %} {% set schema = current_schema %} {% include get_view_template(schema, container_style) %}
{% endif %} {% if '_before' in diff and '_after' in diff %}
{% endif %} {% else %} {% include get_view_template(schema, container_style) %} {% endif %}