{% extends 'detail_view.html' %}
{% load i18n %}
{% block button_bar %}
    {{ block.super }}
    <a class="button"
       href="{% url 'project_create' %}?office={{ object.id }}"><span
            class="icon-plus on-left"></span>{% trans 'project' %}</a>
{% endblock button_bar %}
{% block extra %}
    {% with related_list=object.projects.all related_table_id='projects_table' %}
        {% include 'related_snippet.html' %}
    {% endwith %}
{% endblock %}