{% if data is not none and "text" in data %} {% if 'multiline' in schema and schema['multiline'] %} {{ data.text }} {% else %} {{ data.text }} {% endif %} {% else %} — {% endif %}