{% if not property_path %} {% set root_schema = schema %} {% endif %} {% set container_style = get_style_variant(schema.style, template_mode) %}
{% if container_style in ("collapsible", "expandable") %} {% endif %} {{ schema.title | get_translated_text }}
{% if 'note' in schema %}{{ _('Note:') }} {{ schema['note'] | get_translated_text }}{% endif %} {% for property_name in get_property_names_in_order(schema, previous_schema) %} {% set is_required = property_name in schema.get('required', ()) %} {% set schema = schema.properties.get(property_name) %} {% 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 %} {% set data = data.get(property_name) %} {% endif %} {% if diff is not none %} {% set diff = diff.get(property_name) %} {% endif %} {% if previous_schema is not none %} {% set previous_schema = previous_schema.get('properties', {}).get(property_name) %} {% endif %} {% if schema and 'conditions' in schema %}
{% include "objects/forms/form_any.html" %}
{% else %} {% include "objects/forms/form_any.html" %} {% endif %} {% endfor %} {% if 'recipes' in schema and schema['recipes'] | length > 0 %} {% include "objects/forms/form_recipe.html" %} {% endif %}