{% if 'multiline' in schema and schema['multiline'] %} {% elif 'choices' in schema %} {% else %} {% endif %}