{% extends 'generic/object.html' %}
{% load i18n %}

{% block extra_controls %}
  {% if perms.tenancy.add_tenant %}
    <a href="{% url 'tenancy:tenant_add' %}?group={{ object.pk }}" class="btn btn-primary">
      <span class="mdi mdi-plus-thick" aria-hidden="true"></span> {% trans "Add Tenant" %}
    </a>
  {% endif %}
{% endblock extra_controls %}
