{% set container_style = get_style_variant(schema.style, template_mode) %} {% set show_title = ((show_object_title is none and config['SHOW_OBJECT_TITLE']) or show_object_title) and schema.title %} {% if show_title or container_style in ("collapsible", "expandable") %}
{% if container_style in ("collapsible", "expandable") %} {% endif %} {% if show_title %} {{ schema.title | get_translated_text }} {% endif %}
{% endif %} {% set indent_level = indent_level + 1 %}
{% set show_indent_border = True %} {% set property_names = get_property_names_in_order(schema) %} {% for property_name in property_names %} {% if data | are_conditions_fulfilled(schema.properties[property_name]) %} {% set hidden = (not (workflow_display_mode and 'workflow_show_more' in schema.keys()) and 'show_more' in schema.keys() and property_name in schema['show_more']) or (workflow_display_mode and 'workflow_show_more' in schema.keys() and property_name in schema['workflow_show_more']) %} {% set schema = schema.properties[property_name] %} {% set parent_id_prefix = id_prefix %} {% set property_path = property_path + (property_name,) %} {% set id_prefix = id_prefix_for_property_path(property_path, id_prefix_root) %} {% if data is not none and property_name in data %} {% set data = data[property_name] %} {% else %} {% set data = none %} {% endif %} {% if diff is not none and previous_schema is not none and property_name in diff %} {% set diff = diff[property_name] %} {% set previous_schema = previous_schema['properties'][property_name] %} {% else %} {% set diff = none %} {% set previous_schema = none %} {% endif %} {% endif %} {% endfor %} {% if schema.get("show_more") or (workflow_display_mode and schema.get("workflow_show_more")) %}
{% endif %}