summaryrefslogtreecommitdiff
path: root/static/website/templates/new-question.html
diff options
context:
space:
mode:
authorJayaram Pai2014-04-23 17:18:27 +0530
committerJayaram Pai2014-04-23 17:18:27 +0530
commit99bbf8ec16fca5eeec9d0ddad5f0a5ae169e4218 (patch)
treeeffff301f9792e9b02c266bd5a2fac055674a2b3 /static/website/templates/new-question.html
parent8dd84484c4afa20d65a8232aba5a0e9931e7a749 (diff)
downloadFOSSEE-Forum-99bbf8ec16fca5eeec9d0ddad5f0a5ae169e4218.tar.gz
FOSSEE-Forum-99bbf8ec16fca5eeec9d0ddad5f0a5ae169e4218.tar.bz2
FOSSEE-Forum-99bbf8ec16fca5eeec9d0ddad5f0a5ae169e4218.zip
changed slick in index page
changed login:next_url modified the forms.py for initial value
Diffstat (limited to 'static/website/templates/new-question.html')
-rw-r--r--static/website/templates/new-question.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/static/website/templates/new-question.html b/static/website/templates/new-question.html
index d9576bb..16c6021 100644
--- a/static/website/templates/new-question.html
+++ b/static/website/templates/new-question.html
@@ -11,7 +11,7 @@
{% with WIDGET_ERROR_CLASS='field_error' %}
<p>
- Please enter the tutorial details.
+ Please enter the tutorial details. {{ category }}
<img id="ajax-loader" src="{% static 'website/images/ajax-loader.gif' %}" style="display:none;">
</p>
<div class="row">
@@ -19,7 +19,11 @@
{% render_field form.category class+="form-control"%}
</div>
<div class="col-lg-3 col-md-3 col-sm-3">
- {% render_field form.tutorial class+="form-control" disabled="disabled" %}
+ {% if category %}
+ {% render_field form.tutorial class+="form-control" %}
+ {% else %}
+ {% render_field form.tutorial class+="form-control" disabled="disabled" %}
+ {% endif %}
</div>
<div class="col-lg-2 col-md-2 col-sm-2">
{% render_field form.minute_range class+="form-control" disabled="disabled" %}