{# Typed ORM fields; legacy custom models retain their existing templates. #}
{% if is_readonly %}
{% elif schema.widget is defined and schema.widget %}
{% include schema.widget %}
{% elif schema.kind in ['autocomplete', 'autocomplete-many'] %}
{% if schema.kind == 'autocomplete-many' %}{% endif %}
{% elif schema.kind == 'many' %}
{% elif schema.kind == 'checkbox' %}
{% elif schema.kind == 'textarea' %}
{% elif schema.kind == 'select' %}
{% else %}
{% endif %}