{% extends "registry/list.html" %}

{% block table_head_extn %}
<th>Accounts</th>
<th>Groups</th>
{% endblock %}

{% block table_row_extn %}
<td>
  {% for domainObject in domainObject.accounts %}
    {% if domainObject.account.getRegisterKeyValue %}
    <a href="{{uriPrefix}}/accounts/{{domainObject.account.getRegisterKeyValue}}/" title="{{domainObject.account.getRegisterKeyValue}}">{{domainObject.account.getLabelValue}}</a>
    {% endif %}
  {% endfor %}
</td>
<td>
  {% for domainObject in domainObject.groups %}
    {% if domainObject.group.getRegisterKeyValue %}
    <a href="{{uriPrefix}}/groups/{{domainObject.group.getRegisterKeyValue}}/" title="{{domainObject.group.getRegisterKeyValue}}">{{domainObject.group.getLabelValue}}</a>
    {% endif %}
  {% endfor %}
</td>
{% endblock %}

{% block table_item_delete_btn %}{% endblock %}

