diff options
Diffstat (limited to 'tbc')
-rw-r--r-- | tbc/templates/tbc/completed_books.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc/templates/tbc/completed_books.html b/tbc/templates/tbc/completed_books.html index 99c1790..7f95cfd 100644 --- a/tbc/templates/tbc/completed_books.html +++ b/tbc/templates/tbc/completed_books.html @@ -36,16 +36,16 @@ function submitCategory() <table class="table table-bordered table-hover"> <th>Sr #</th> <th>Book</th> + {% for book in completed_books %} <tr> - {% for book in completed_books %} <td> {{ forloop.counter }} </td> <td> <a href="{% url 'tbc:BookDetails' book.id %}">{{ book.title }} by {{ book.author }}</a> </td> - {% endfor %} </tr> + {% endfor %} </table> <hr> |