<?xml version="1.0"?>
<t name="Event Navbar Dropdown" t-name="website_event.navbar_dropdown">
   <div t-if="len(event.menu_id.child_id) &gt; 1" t-attf-class="dropdown o-dropdown--no-caret {{not is_rendering_cta and 'ms-auto' or 'ms-2'}}">
        <button class="dropdown-toggle o-no-caret btn btn-light" data-bs-toggle="dropdown" aria-expanded="false">
            <i class="fa fa-bars" role="img"/>
        </button>
        <ul class="dropdown-menu" t-att-data-menu_name="editable and 'Event Menu'" t-att-data-content_menu_id="editable and event.menu_id.id" role="menu">
            <li><h6 class="dropdown-header" t-field="event.name"/></li>

            <t t-foreach="event.menu_id.child_id" t-as="submenu">
                <t t-call="website.submenu">
                    <t t-set="link_class" t-value="'dropdown-item ps-4'"/>
                </t>
            </t>
        </ul>
    </div>
</t>

