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