summaryrefslogtreecommitdiff
path: root/static/website/templates/ajax-duration.html
blob: f89927b02d4ae8ea0a8087ccae4f6fe05b8ab532 (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 }}-{{ i|add:"10" }} </option>
    {% endfor %}
</div> <!-- /#seconds -->
</div> <!-- /required for ajax -->