{% if dependents %}
    <table class="table table-striped table-hover">
        <thead>
            <tr>
                <th scope="col">Package</th>
                <th scope="col">Latest</th>
                <th scope="col">Author</th>
                <th scope="col">FHIR</th>
                <th scope="col">Versions</th>
                <th scope="col">Canonical</th>
            </tr>
        </thead>
        <tbody>
            {% for dep in dependents %}
            <tr>
                <td>
                    <i class="bi bi-box-seam me-2"></i>
                    <a class="text-primary" href="{{ url_for('package_details_view', name=dep.name) }}">{{ dep.name }}</a>
                </td>
                <td>{{ dep.version }}</td>
                <td>{{ dep.author }}</td>
                <td>{{ dep.fhir_version }}</td>
                <td>{{ dep.version_count }}</td>
                <td>{{ dep.canonical }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
{% else %}
    <p class="text-muted">No dependent packages found for this package.</p>
{% endif %}