{% for doc in documents %} 10 %} {% if forloop.last %} hx-get="{{ url }}?page={{ page_obj.number|add:1 }}" hx-trigger="revealed" hx-swap="afterend" hx-target="this" {% endif %}{% endif %} class="{% cycle 'table-secondary' '' %}"> {{ doc.title }} {{ doc.updated_by }} {{ doc.updated_at }} {% endfor %}