1 {% load toolbar_tags %}
3 <ol class="toolbar-tabs">
4 {% for group in groups %}
5 <li p:button-list="{{ group.slug }}" {% if forloop.first %}class="active"{% endif %}>{{ group.name }}</li>
8 <div style="clear: both; height: 0; width: 0"> </div>
9 <div class="toolbar-buttons">
10 {% for group in groups %}
11 <ol class="{{ group.slug }}" {% if not forloop.first %}style="display:none"{% endif %}>
12 {% for button in group.button_set.all %}
13 <li p:tag="{{ button.tag }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Alt+{{ button.key|upper }}"{% endif %}>{{ button.label }}</li>
17 <div style="clear: both; height: 0; width: 0"> </div>