blob: e02fcffe8fd1d2956c32558afeeebca8072e1466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{% load count_tags %}
<div>
<div id="minutes">
<option value="">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="">sec</option>
{% for i in seconds|get_range:"0,10" %}
<option value="{{ i }}-{{ i|add:"10" }}">{{ i }}-{{ i|add:"10" }}</option>
{% endfor %}
</div> <!-- /#seconds -->
</div> <!-- /required for ajax -->
|