diff options
author | FOSSEE Git User | 2018-10-10 19:32:10 +0530 |
---|---|---|
committer | FOSSEE Git User | 2018-10-10 19:32:10 +0530 |
commit | 4099238c0bc191ab6ad0b236a1f45d530559982d (patch) | |
tree | e4e2238e3927951fcc825504aead2ef6737090ba /static/website/templates/add_question.html | |
parent | fdf46a6dd8d33d96f5b3d0e032bcfa153b6155a5 (diff) | |
parent | df5b673cfb13f4ce66146723384172ee981a6a07 (diff) | |
download | nccps-2018-4099238c0bc191ab6ad0b236a1f45d530559982d.tar.gz nccps-2018-4099238c0bc191ab6ad0b236a1f45d530559982d.tar.bz2 nccps-2018-4099238c0bc191ab6ad0b236a1f45d530559982d.zip |
Merge branch 'master' of https://github.com/FOSSEE/nccps-2018
Diffstat (limited to 'static/website/templates/add_question.html')
-rw-r--r-- | static/website/templates/add_question.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/static/website/templates/add_question.html b/static/website/templates/add_question.html new file mode 100644 index 0000000..a8b3440 --- /dev/null +++ b/static/website/templates/add_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"> --> + {{ questions.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 |