1 {% load toolbar_tags %}
3 <select class="group_selector">
4 {% for group in toolbar_groups %}
5 <option value="{{ group.slug }}" {% if forloop.first %}selected="selected"{% endif %}>{{ group.name }}</option>
9 <button type="button" class="prev"><</button>
10 <div class="button_group_container">
11 {% for group in toolbar_groups %}
12 <ul data-group="{{ group.slug }}" class="button_group">
13 {# buttons for this group #}
14 {% for button in group.button_set.all %}
15 <li class="toolbar-button">{% toolbar_button button %}</li>
20 <button type="button" class="next">></button>