blob: 22fe04f9c53c9b4872fb9a5f15221455c201c312 (
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="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|add:"10" }}">{{ i }}-{{ i|add:"10" }}</option>
{% endfor %}
</div> <!-- /#seconds -->
</div> <!-- /required for ajax -->
|