From a83afb77e7fa3a670096c1ba28f9496de2fe4c4b Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Tue, 21 Apr 2015 14:04:21 +0530 Subject: add feature to edit number of chapter when submitting codes for 2nd time --- tbc/templates/tbc/confirm-details.html | 2 +- tbc/templates/tbc/update-code.html | 7 ++++--- tbc/templatetags/__init__.py | 0 tbc/templatetags/tags.py | 11 +++++++++++ tbc/views.py | 20 ++++++++++---------- 5 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 tbc/templatetags/__init__.py create mode 100644 tbc/templatetags/tags.py diff --git a/tbc/templates/tbc/confirm-details.html b/tbc/templates/tbc/confirm-details.html index 96393ac..904c8c4 100644 --- a/tbc/templates/tbc/confirm-details.html +++ b/tbc/templates/tbc/confirm-details.html @@ -8,7 +8,7 @@
You are submitting codes for the book
{{ book.title }} by {{ book.author }}.
-
Kindly verify the book details & enter the number of chapters you will submit the codes for.
Note: Consider only those chapters which have solved examples