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

{% block extra_controls %}
<div class="pull-right noprint">
    <a href="{% url 'plugins:netbox_aci:contractsubject_add' %}?contract={{ object.pk }}&return_url={{ request.get_full_path }}" class="btn btn-success">
        <span class="mdi mdi-plus-thick" aria-hidden="true"></span> Subject
    </a>
</div>
{% endblock extra_controls %}

{% block content %}
    <div class="row mb-3">
        <div class="col col-md-6">
            {% include "./default_object.html" with object_id='Contract' %}
            {% include "./contract_details.html" %}
        </div>
    </div>
    {% include "./netbox_includes.html" %}
{% endblock content %}
