{%if control==true%}
<form style="width:200px;" id="interval" method="POST">
    <label>Период:</label>
    <select onchange="jQuery('#interval').submit();" name="interval">
        <option {{sel}} value="{{interval}}">{{interval}} дней</option>
        <option {{sel30}} value="30">1 месяц</option>
        <option {{sel7}} value="7">1 наделя</option>
        <option {{sel1}} value="1">1 день</option>
    </select>
</form><br/>
{%endif%}
<div  style="height: {{height}}px; padding: 0px; position: relative;" id="{{id}}"></div>

