{% load humanize %}
{% load naturalduration %}

<div class="tab-pane fade show" id="latest-beers" role="tabpanel"
    aria-labelledby="latest-beers-tab">
    <div class="table-responsive">
        {{count}} scrobble {% if time %}| {{time|natural_duration}}{% endif %}{% if daily_calories %}| {{daily_calories}} calories{% endif %}
        <table class="table table-striped table-sm">
            <thead>
                <tr>
                    <th scope="col">Date</th>
                    <th scope="col">Title</th>
                    <th scope="col">Time</th>
                </tr>
            </thead>
            <tbody>
                {% for scrobble in scrobbles %}
                {% include "scrobbles/_row.html" %}
                {% endfor %}
            </tbody>
        </table>
    </div>
</div>
