diff options
-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 60c0b26..99c1790 100644 --- a/tbc/templates/tbc/completed_books.html +++ b/tbc/templates/tbc/completed_books.html @@ -37,14 +37,14 @@ function submitCategory() <th>Sr #</th> <th>Book</th> <tr> + {% for book in completed_books %} <td> {{ forloop.counter }} </td> <td> - {% for book in completed_books %} <a href="{% url 'tbc:BookDetails' book.id %}">{{ book.title }} by {{ book.author }}</a> - {% endfor %} </td> + {% endfor %} </tr> </table> |