{% load i18n %}
{% load attribute %}
{% for attribute, values in attribute_values_list %}
{% include "includes/attribute-label.html" with attribute=attribute only %}
{% if attribute.multi_value %}
{% for value in values %}
{% include "includes/attribute-input.html" with attribute=attribute value=value is_admin=is_admin new_resource=new_resource only %}
{% if is_admin or not attribute.readonly_by_self %}
⊖
{% endif %}
{% empty %}
{% include "includes/attribute-input.html" with attribute=attribute value="" is_admin=is_admin new_resource=new_resource only %}
{% if is_admin or not attribute.readonly_by_self %}
⊖
{% endif %}
{% endfor %}
{% if is_admin or not attribute.readonly_by_self %}
{% trans 'Add Input' %}
{% endif %}
{% else %}
{% include "includes/attribute-input.html" with attribute=attribute value=values.0 is_admin=is_admin new_resource=new_resource only %}
{% endif %}
{% translate_description attribute as description %}
{% if description %}