summaryrefslogtreecommitdiff
path: root/static/website/templates/edit_question.html
diff options
context:
space:
mode:
authorAkshen2018-10-10 10:50:20 +0530
committerAkshen2018-10-10 10:50:20 +0530
commitbed6d3bec534ec5cd207e1fa00580749aaa14112 (patch)
tree8c13a8cd762971e86bb39a95029eb2a16784ded0 /static/website/templates/edit_question.html
parent63bde864f757953faed546a537bc8ea77d3e3de2 (diff)
downloadnccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.tar.gz
nccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.tar.bz2
nccps-2018-bed6d3bec534ec5cd207e1fa00580749aaa14112.zip
Add DWSIM Online Quiz
- Moderator can add, edit questions and view leaderboard - Participant can take quiz specified for that day
Diffstat (limited to 'static/website/templates/edit_question.html')
-rw-r--r--static/website/templates/edit_question.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/static/website/templates/edit_question.html b/static/website/templates/edit_question.html
new file mode 100644
index 0000000..9b45d5b
--- /dev/null
+++ b/static/website/templates/edit_question.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+ {% block content %}
+<br><br><br>
+
+ {% if messages %}
+ <ul class="messages">
+ {% for message in messages %}
+ <div class="alert alert-{{ message.tags }}">
+ <li {% if message.tags %} class="{{ message.tags }}"{% endif %}> {{ message }}
+ </li>
+ </div>
+ {% endfor %}
+ </ul>
+ {% endif %}
+
+
+<div class="container">
+ <p>Avoid using '+ % &' symbols instead use it's equivalent string. Eg use 'plus' instead of '+'</p>
+ <form method="POST">
+ {% csrf_token %}
+ <!-- <table align="center" border="3"> -->
+ {{ form.as_p }}
+ <!-- </table> -->
+ <br>
+ <button class="btn btn-primary center-block" type="Submit">Submit</button>
+ <br><br>
+ </form>
+</div>
+ {% endblock %} \ No newline at end of file