{% extends 'detail_view.html' %}
{% block button_bar %}
    {{ block.super }}
    <a class="button" href='{% url 'sample_create' %}?project={{ object.pk }}'><span class="icon-plus on-left"></span>Add
        Sample</a>
    <a class="button" href="{% url 'project_report_setup' pk=object.pk %}"><span class="on-left icon-files"></span>Report</a>
{% endblock button_bar %}
{% block extra %}
    {% with related_list=object.samples.all related_table_id='sample_table' %}
        {% include 'related_snippet.html' %}
    {% endwith %}
{% endblock extra %}