diff options
author | Jayaram Pai | 2013-12-01 13:09:49 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-01 13:09:49 +0530 |
commit | 8533d61eb93ecb4c943ec3c3b83dfef87b20a916 (patch) | |
tree | 4fa52f3c02fe1f5c50a4d386cc670faeaae6d7e4 /static/website/templates/ajax-duration.html | |
parent | af3e4d8942680a5c08492d2ed179d8e401a8bf57 (diff) | |
download | spoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.tar.gz spoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.tar.bz2 spoken-tutorial-forums-8533d61eb93ecb4c943ec3c3b83dfef87b20a916.zip |
basic auth and new-question
Diffstat (limited to 'static/website/templates/ajax-duration.html')
-rw-r--r-- | static/website/templates/ajax-duration.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/static/website/templates/ajax-duration.html b/static/website/templates/ajax-duration.html new file mode 100644 index 0000000..f89927b --- /dev/null +++ b/static/website/templates/ajax-duration.html @@ -0,0 +1,16 @@ +{% load count_tags %} +<div> +<div id="minutes"> + <option value="None">min</option> + {% for i in minutes|inc|get_range %} + <option value="{{ i }}-{{ i|inc }}">{{ i }}-{{ i|inc }} </option> + {% endfor %} +</div> <!-- /#minutes --> + +<div id="seconds"> + <option value="None">sec</option> + {% for i in seconds|get_range:"0,10" %} + <option value="{{ i }}">{{ i }}-{{ i|add:"10" }} </option> + {% endfor %} +</div> <!-- /#seconds --> +</div> <!-- /required for ajax --> |