1 {% load toolbar_tags %}
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 id="toolbar-buttons">
10 {% for group in groups %}
11 <ol id="{{ 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="Ctrl+{{ button.key }}"{% endif %}>{{ button.label }}</li>
17 <div style="clear: both; height: 0; width: 0"> </div>