summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorhardythe12014-08-25 17:18:24 +0530
committerhardythe12014-08-25 17:18:24 +0530
commit58aad0e1af6e54c09cd6700d8385d3c328160b5c (patch)
tree02a32599b0897fe14d78e9044646d7e33cc99d71 /tbc
parent061b7df27cf96baa51c691bd32a455260785b100 (diff)
downloadPython-TBC-Interface-58aad0e1af6e54c09cd6700d8385d3c328160b5c.tar.gz
Python-TBC-Interface-58aad0e1af6e54c09cd6700d8385d3c328160b5c.tar.bz2
Python-TBC-Interface-58aad0e1af6e54c09cd6700d8385d3c328160b5c.zip
correcting error in the table
Diffstat (limited to 'tbc')
-rw-r--r--tbc/templates/tbc/completed_books.html4
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>