{% extends 'atlas/base.html' %}

{% block content %}



    <div class="floating-header">
        {% comment %}         <a href="{% url 'atlas:pathological_process_update' pk=pathological_process.pk %}" title="Edit the Condition">Edit</a>
        <a href="{% url 'atlas:pathological_process_delete' pk=pathological_process.pk %}" title="Delete the Condition">Delete</a> {% endcomment %}
        {% if request.user.is_superuser %}
            <a href="{% url 'admin:atlas_pathologicalprocess_change' pathological_process.id %}"
                title="Edit the Condition using the admin interface">Admin Edit</a>
        {% endif %}
    </div>
    <div>
        <h3>Name: {{pathological_process.name}}</h3>
    </div>
    {% if pathological_process.case_set.all %}
        <h4>Associated Cases</h4>
        <ul>
            {% for case in pathological_process.case_set.all %}
                <li>{{case.get_link}}</li>
            {% endfor %}
        </ul>
    {% endif %}

{% endblock %}

{% block js %}

{% endblock %}
