Commit b1efe43f authored by Kedar A.'s avatar Kedar A. 💻

Updated upload form: Added 'not sure' option for subject and level

parent 0a2d63dd
......@@ -45,7 +45,7 @@
</div>
<div class="large-9 columns">
<label>{% trans "Title of File" %}</label>
<input type="text" name="docTitle" id ="docTitle" tabindex=2 placeholder="Enter Title of File" required>
<input type="text" name="docTitle" id ="docTitle" tabindex=2 placeholder="Title of File" required>
<small class="error">Please provide the title of the resource.</small>
</div>
</div>
......@@ -53,12 +53,12 @@
<!-- other details -->
<fieldset style="background:#ccc;">
<legend style="background:#10c1cb">{% trans "Enter Details" %}</legend>
<legend style="background:#10c1cb">{% trans "Details" %}</legend>
<div class ="row">
<div class="large-5 columns">
<b>Add Description</b>
{% include "ndf/add_editor.html" with var_name="content_org" var_placeholder="Please enter question" %}
{% include "ndf/add_editor.html" with var_name="content_org" var_placeholder="Describe the file" %}
<div class="row">
......@@ -100,7 +100,7 @@
<div class="large-7 columns">
<div class ="row">
<div class="large-4 columns">
<b>Set Language</b>
<b>Language</b>
<select name="lan" tabindex=3 required>
<option value="">--- Select Language ---</option>
{% get_language_info_list for LANGUAGES as languages %}
......@@ -118,13 +118,16 @@
<a href="#view-map-edit-widget" data-reveal-id="view-map-edit-widget" title="Click to add location markers" class="tiny secondary button expand"> <i class="fi-marker"></i> &nbsp; {% trans "Add Location" %}
</a>
</div>
<!--
<div class="large-4 columns">
<b>Set Privacy</b><br/>
<input id="PUBLIC" name="login-mode" value="PUBLIC" type="radio" checked>
<label for="PUBLIC" onclick="">{% trans "Public" %} <i class="fi-torsos-all"></i></label>
<input id="PRIVATE" name="login-mode" value="PRIVATE" type="radio">
<label for="PRIVATE" onclick="">{% trans "Private" %} <i class="fi-lock"></i></label>
</div>
</div> -->
<input id="PUBLIC" name="login-mode" value="PUBLIC" type="hidden" >
</div>
<br/>
<div class ="row">
......@@ -171,6 +174,7 @@
{% for opts in v %}
<option>{% trans opts %}</option>
{% endfor %}
<option>Not Sure</option>
</select>
<small class="error">Please select resource Subject</small>
......@@ -188,6 +192,7 @@
{% for opts in v %}
<option>{% trans opts %}</option>
{% endfor %}
<option>Not Sure</option>
</select>
<small class="error">Please select resource audience</small>
......@@ -221,7 +226,7 @@
<b>Source</b>
</div>
<div class="large-10 columns">
<input id="source_id" name="Source" type="text" placeholder="Enter source name" tabindex="8"/>
<input id="source_id" name="Source" type="text" placeholder="Owner of the file" tabindex="8"/>
</div>
</div>
......@@ -230,7 +235,7 @@
<b>Based on url</b>
</div>
<div class="large-9 columns">
<input id="based_on_id" name="based_url" type="text" placeholder="Enter valid url" tabindex="9"/>
<input id="based_on_id" name="based_url" type="text" placeholder="Web Address (url) of the file if you sourced it from a website" tabindex="9"/>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment