{% extends "layout_1_column.html" %} {% block title %} {{ topic.first_base_name.name }} — Attributes | {{ topic_map.name }} {% endblock %} {% block javascript %}{% endblock %} {% block content %}

{{ topic.first_base_name.name }} {% if entity_type == 'topic' %} Topic attributes {% elif entity_type == 'image' %} Image attributes {% elif entity_type == '3d-scene' %} 3D content attributes {% elif entity_type == 'file' %} File attributes {% elif entity_type == 'link' %} Link attributes {% elif entity_type == 'video' %} Video attributes {% else %} Association attributes {% endif %}

{{ creation_date }}

{% if attributes %} {% for attribute in attributes %} {% endfor %}
Name Value Data Type Scope Actions
{{ attribute.name }} {{ attribute.value }} {{ attribute.type|topic_name(topic_map.identifier) }} {{ attribute.scope|topic_name(topic_map.identifier) }} {% if entity_type == 'topic' %} Edit {% else %} Edit {% endif %}  ·   {% if entity_type == 'topic' %} Delete {% else %} Delete {% endif %}
{% elif current_user.id == topic_map.user_identifier %}

This entity has no associated attributes. Click on the "Add attribute" button below to add an attribute.

{% endif %} {% if current_user.id == topic_map.user_identifier %} Return {% if entity_type == 'topic' %} Add attribute {% else %} Add attribute {% endif %}

{% endif %} {% endblock %}