{% load static %}
<h2>{{ title }}</h2>
<ul>
    {% for person in people %}
        <li>
            {% if person.picture %}
                <img class="person-image tiny" src="{{ person.picture.url }}" alt="{{ person.get_full_name }}">
            {% else %}
                <img class="person-image tiny" src="{% static "library/images/no-image.png" %}"
                     alt="{{ person.get_full_name }}">
            {% endif %}
            {{ person.first_name }} {{ person.last_name }}
            <span class="label">{{ person.get_role_display|title }}</span>
            <a href="{% url "library:person-edit" uuid=person.uuid %}">Edit</a>
        </li>
    {% endfor %}
</ul>
