diff options
author | hardythe1 | 2014-09-16 16:36:50 +0530 |
---|---|---|
committer | hardythe1 | 2014-09-16 16:36:50 +0530 |
commit | 2b1ade3ef0f3ea986b1cbf2274cb0cee67b55cb3 (patch) | |
tree | 755c197bc8e5c393f55220991907d00be7f905a4 /tbc | |
parent | 677e96906e7118ae10ff9a3c212d5db86bcae8d0 (diff) | |
download | Python-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.html | 10 |
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 %} |