{% extends "authentic2/manager/ou_common.html" %}
{% load i18n staticfiles django_tables2 %}

{% block page-title %}{{ block.super }} - {% trans "Organizational units" %}{% endblock %}

{% block breadcrumb %}
  {{ block.super }}
{% endblock %}

{% block appbar %}
  {{ block.super }}
  {% if view.can_add %}
    <a href="{% url "a2-manager-ou-add" %}" rel="popup">{% trans "Add organizational unit" %}</a>
  {% endif %}
{% endblock %}

{% block sidebar %}
  <aside id="sidebar">
  {% include "authentic2/manager/search_form.html" %}
  </aside>
{% endblock %}

{% block main %}
  {% with row_link=1 %}
      {% render_table table "authentic2/manager/table.html" %}
  {% endwith %}
{% endblock %}
