{% load i18n %}
{% regroup plugin_menu by module as module_list %}
{% for module in module_list %}
    <div class="cms-submenu-item cms-submenu-item-title"><span>{% if module.grouper %}{{ module.grouper|capfirst }}{% else %}{% trans "Available plugins" %}{% endif %}</span></div>
    {% for p in module.list %}
        {% if p.value != 'AliasPlugin' and p.value != 'PlaceholderPlugin' %}
            <div class="cms-submenu-item"><a data-rel="add" data-add-form="{{ p.add_form|yesno:'true,false' }}" href="{{ p.value }}">{{ p.name }}</a></div>
        {% endif %}
    {% endfor %}
{% endfor %}
