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

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

{% endblock %}