{% load static %} {% load i18n %} {% if item.dataformat == "string" %} {% if item.dataformat_ext == "safe" %} {{ item.value|safe }} {% else %} {{ item.value|default:'' }} {% endif %} {% elif item.dataformat == "boolean" %}
{% if item.value %}{% endif %}
{% elif item.dataformat == "int" %} {{ item.value|default:'' }} {% elif item.dataformat == "float" %} {{ item.value|default:'' }} {% elif item.dataformat == "group" %}
{% for z in item.value %} {{ z }}{% endfor %}
{% elif item.dataformat == "user" %}
{% for z in item.value %} {{ z.key }} ({{ z.display }}){% endfor %}
{% elif item.dataformat == "schema" %}
{% for z in item.value %} {{ z.display|default:z.key }}{% endfor %}
{% elif item.dataformat == "enumerate" %}
{% if item.value %}{{ item.value|safe }}{% endif %}
{% elif item.dataformat == "text" %} {{ item.value|truncatechars:64|default:'' }} {% else %} {{ item.value|default:'' }} {% endif %}