From 11fd1c8467433465a8bc6ca7a831f97cc0f4edb1 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 9 Oct 2014 16:06:35 +0530 Subject: removed no of chapters while submitting the proposal --- tbc/templates/base.html | 3 +-- tbc/templates/tbc/confirm-aicte-details.html | 2 ++ tbc/templates/tbc/confirm-details.html | 11 ++++++++++ tbc/templates/tbc/review-proposal.html | 6 +++--- tbc/templates/tbc/submit-proposal.html | 6 ++++++ tbc/templates/tbc/submit-sample.html | 9 ++++---- tbc/templates/tbc/update-book.html | 2 +- tbc/urls.py | 2 +- tbc/views.py | 32 +++++++++++----------------- 9 files changed, 42 insertions(+), 31 deletions(-) create mode 100644 tbc/templates/tbc/confirm-details.html diff --git a/tbc/templates/base.html b/tbc/templates/base.html index 9f1607a..ec9806a 100755 --- a/tbc/templates/base.html +++ b/tbc/templates/base.html @@ -101,8 +101,7 @@
diff --git a/tbc/templates/tbc/confirm-aicte-details.html b/tbc/templates/tbc/confirm-aicte-details.html index e26c453..e8ab88b 100644 --- a/tbc/templates/tbc/confirm-aicte-details.html +++ b/tbc/templates/tbc/confirm-aicte-details.html @@ -24,6 +24,8 @@ $( document ).ready(function() { title = document.getElementById('id_title').readOnly = true; author = document.getElementById('id_author').readOnly = true; publisher_place = document.getElementById('id_publisher_place').readOnly = true; + $('#id_no_chapters').hide(); + $('label[for="id_no_chapters"]').hide(); }); {% endblock %} diff --git a/tbc/templates/tbc/confirm-details.html b/tbc/templates/tbc/confirm-details.html new file mode 100644 index 0000000..26007ea --- /dev/null +++ b/tbc/templates/tbc/confirm-details.html @@ -0,0 +1,11 @@ +{% extends 'base.html' %} +{% block content %} +