{% set container_style = schema.get('style') %}
{% if schema["items"].properties.get(property_name, {}).title %}{{ schema["items"].properties[property_name].title | get_translated_text }} {% if 'tooltip' in schema["items"].properties[property_name] %}{% endif %}{% elif previous_schema and previous_schema['items'].properties.get(property_name, {}).title %}{{ previous_schema['items'].properties[property_name].title | get_translated_text }}{% else %}{{ property_name }}{% endif %} | {% endfor %}|
---|---|
{% set is_required = property_name in schema.get('required', ()) %}
{% set schema = schema.properties[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 %}
{% include "objects/forms/form_table_recipe.html" %}
{% endif %}
|
{% endfor %} |
|
{{ _('Field %(index)s', index=i + 1) }} | {% endfor %}
|
---|---|
{% set schema = schema["items"]["items"] %} {% set data = field %} {% set diff = field_diff %} {% set property_path = property_path + (loop.index0,) %} {% set id_prefix = id_prefix_for_property_path(property_path, id_prefix_root) %} {% include "objects/forms/form_any.html" %} | {% endfor %}|
{% with is_template = true %} {% set schema = schema["items"]["items"] %} {% set property_path = property_path + ('!index' ~ template_order_index ~ '!', '!cindex' ~ col_order_index ~ '!',) %} {% set data = get_default_data(root_schema, property_path) %} {% set diff = none %} {% set id_prefix = id_prefix_for_property_path(property_path, id_prefix_root) %} {% include "objects/forms/form_any.html" %} {% endwith %} | |
{{ _('Field %(index)s', index=i + 1) }} | {% endfor %}