{% extends 'lists/list_layout.html' %} {% block panel %} Pending Books Go to list {% if not pending.exists %} You're all set! {% else %} Book Suggested by {% for item in pending %} {% include 'snippets/book_cover.html' with book=item.book size="small" %} {% include 'snippets/book_titleby.html' with book=item.book %} {% include 'snippets/username.html' with user=item.user %} {% csrf_token %} Approve {% csrf_token %} Discard {% endfor %} {% endif %} {% endblock %}
Go to list
You're all set!