diff options
author | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-07 08:36:12 +0530 |
---|---|---|
committer | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-07 08:36:12 +0530 |
commit | 2bccc34943e6b174eacb40b8b50b8c931418eded (patch) | |
tree | 9780a69e76be5a8940d0dc0512d6c8ad6c51e35b /gnowsys-ndf/gnowsys_ndf | |
parent | 4ff311a72bc8197080e3d0209f68e09f8204134f (diff) | |
download | gnowsys-2bccc34943e6b174eacb40b8b50b8c931418eded.tar.gz |
Allowing only single file selection for file upload
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/Upload_File.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/Upload_File.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/Upload_File.html index d0775fa..157f575 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/Upload_File.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/Upload_File.html @@ -35,7 +35,7 @@ <div class ="row"> <div class="large-3 columns"> <label>{% trans "Choose File" %}</label> - <input type="file" name="doc[]" id="docFile" multiple/> + <input type="file" name="doc[]" id="docFile"/> </div> <div class="large-9 columns"> <label>{% trans "Title of File" %}</label> @@ -189,7 +189,16 @@ <b>License</b> </div> <div class="large-10 columns"> - <input id="license_id" name="License" type="text" placeholder="Enter source name"/> + <!-- <input id="license_id" name="License" type="text" placeholder="Enter source name"/> --> + {% get_licence as licence %} + <select name="License"> + <option value="CC BY-SA">---Select from list---</option> + {% for each_licence in licence %} + <option value="{{each_licence}}"> + {% trans each_licence %} + </option> + {% endfor %} + </select> </div> </div> |