{% extends base %}
{% block control %}

{% for value, description in buttons %}
<label class="radio {{ css_class }}">
    <input type="radio" name="{{name}}" value="{{value}}" id="{{ id }}_{{value}}"{% if data == value %} selected{% endif %}>
    {{description}}
</label>
{% endfor %}

{% endblock %}
