{% if g.login.is_authenticated() %}
{{ accordion.header('Owners', 'owner', 'set-details', icon='group-line', class='p-0') }}
  <ul class="list-group list-group-flush">
  {% if brickset_owners | length %}
    {% for owner in brickset_owners %}
      <li class="d-flex list-group-item list-group-item-action text-nowrap">{{ form.checkbox(item, owner, delete=delete) }}</li>
    {% endfor %}
  {% else %}
    <li class="list-group-item list-group-item-action"><i class="ri-error-warning-line"></i> No owner found.</li>
    {% endif %}
  </ul>
  <div class="list-group list-group-flush border-top">
    <a class="list-group-item list-group-item-action" href="{{ url_for('admin.admin', open_owner=true) }}"><i class="ri-settings-4-line"></i> Manage the set owners</a>
  </div>
{{ accordion.footer() }}
{{ accordion.header('Management', 'management', 'set-details', expanded=true, icon='settings-4-line') }}
  <h5 class="border-bottom">Data</h5>
  <a href="{{ item.url_for_refresh() }}" class="btn btn-primary" role="button"><i class="ri-refresh-line"></i> Refresh the set data</a>
{{ accordion.footer() }}
{% endif %}
