{% extends 'detail_view.html' %}
{% block extra_rows %}
    {% if object.sample.first %}
        <tr>
            <td>sample</td>
            <td>
                <a href="{% url 'sample_detail' pk=object.sample.first.pk %}">
                    {{ object.sample.first }}
                </a></td>
        </tr>
    {% endif %}
{% endblock extra_rows %}
{# TODO: simplify me. #}