diff options
author | hardythe1 | 2014-02-19 15:06:49 +0530 |
---|---|---|
committer | hardythe1 | 2014-02-19 15:06:49 +0530 |
commit | 8440d0ec6734d384aba024fb6f01f307137f5895 (patch) | |
tree | 6b39ed83140d335849303075db24f874ea76b089 /tbc/templates | |
parent | 757d5b84d89771257c94fb7ffbe952a08adc1d1c (diff) | |
download | Python-TBC-Interface-8440d0ec6734d384aba024fb6f01f307137f5895.tar.gz Python-TBC-Interface-8440d0ec6734d384aba024fb6f01f307137f5895.tar.bz2 Python-TBC-Interface-8440d0ec6734d384aba024fb6f01f307137f5895.zip |
changing the template to receive a book id
Diffstat (limited to 'tbc/templates')
-rw-r--r-- | tbc/templates/tbc/upload-content.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/templates/tbc/upload-content.html b/tbc/templates/tbc/upload-content.html index a0d2369..3fb5eca 100644 --- a/tbc/templates/tbc/upload-content.html +++ b/tbc/templates/tbc/upload-content.html @@ -2,7 +2,7 @@ {% block content %} <div id="content-wrap" style="max-width:600px;"> <p>Upload chapters as individual IPython notebooks </p> - <form action="/upload-content/" method=POST enctype="multipart/form-data"> + <form action="/upload-content/{{ curr_book.id }}" method=POST enctype="multipart/form-data"> {% csrf_token %} {% for i in no_notebooks %} <input type=text name=chapter{{i}} placeholder="Chapter {{ forloop.counter }} name"> |