summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
authorhardythe12014-09-16 16:36:50 +0530
committerhardythe12014-09-16 16:36:50 +0530
commit2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3 (patch)
tree755c197bc8e5c393f55220991907d00be7f905a4 /tbc
parent677e96906e7118ae10ff9a3c212d5db86bcae8d0 (diff)
downloadPython-TBC-Interface-2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3.tar.gz
Python-TBC-Interface-2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3.tar.bz2
Python-TBC-Interface-2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3.zip
made pre-filled fields read only
Diffstat (limited to 'tbc')
-rw-r--r--tbc/templates/tbc/confirm-aicte-details.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tbc/templates/tbc/confirm-aicte-details.html b/tbc/templates/tbc/confirm-aicte-details.html
index a13b1fb..e26c453 100644
--- a/tbc/templates/tbc/confirm-aicte-details.html
+++ b/tbc/templates/tbc/confirm-aicte-details.html
@@ -17,3 +17,13 @@
</form>
</div>
{% endblock %}
+
+{% block script %}
+<script>
+$( 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;
+});
+</script>
+{% endblock %}