{"en_US": "<t name=\"Portal Search Bar\" t-name=\"portal.portal_searchbar\">\n        <nav t-attf-class=\"navbar navbar-light navbar-expand-lg border py-0 mb-2 o_portal_navbar {{classes if classes else ''}} {{'mt-3 rounded' if breadcrumbs_searchbar else 'border-top-0' }}\">\n            <!--  Navbar breadcrumb or title  -->\n            <t t-if=\"breadcrumbs_searchbar\">\n                <t t-call=\"portal.portal_breadcrumbs\"/>\n            </t>\n            <span t-else=\"\" class=\"navbar-brand mb-0 h1 me-auto\" t-esc=\"title or 'No title'\"/>\n\n            <!--  Collapse button -->\n            <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#o_portal_navbar_content\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle filters\">\n                <span class=\"navbar-toggler-icon small\"/>\n            </button>\n\n            <!--  Collapsable content  -->\n            <div class=\"collapse navbar-collapse\" id=\"o_portal_navbar_content\">\n                <div class=\"nav flex-column flex-lg-row ms-auto p-0 mb-3 mb-lg-0 mt-1 mt-lg-0\">\n                    <div t-if=\"searchbar_sortings\">\n                        <span class=\"small me-1 navbar-text\">Sort By:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_sortby\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_sortings[sortby].get('label', 'Newest')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_sortby\">\n                                <t t-foreach=\"searchbar_sortings\" t-as=\"option\">\n                                    <a t-att-href=\"request.httprequest.path + '?' + keep_query('*', sortby=option)\" t-attf-class=\"dropdown-item#{sortby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_sortings[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <div t-if=\"searchbar_filters\" class=\"ms-lg-2\">\n                        <span class=\"small me-1 navbar-text\">Filter By:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_filters\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_filters.get(filterby,searchbar_filters.get('all')).get('label', 'All')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_filters\">\n                                <t t-foreach=\"searchbar_filters\" t-as=\"option\">\n                                    <a t-att-href=\"default_url + '?' + keep_query('*', filterby=option)\" t-attf-class=\"dropdown-item#{filterby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_filters[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <div t-if=\"searchbar_groupby\" class=\"ms-lg-2\">\n                        <span class=\"small me-1 navbar-text\">Group By:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_groupby\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_groupby[groupby].get('label', 'None')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_groupby\">\n                                <t t-foreach=\"searchbar_groupby\" t-as=\"option\">\n                                    <a t-att-href=\"default_url + '?' + keep_query('*', groupby=option)\" t-attf-class=\"dropdown-item#{groupby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_groupby[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <t t-out=\"0\"/>\n                </div>\n                <form t-if=\"searchbar_inputs\" class=\"o_portal_search_panel ms-lg-4 col-xl-4 col-md-5\">\n                    <div class=\"input-group input-group-sm w-100\">\n                        <button type=\"button\" class=\"btn btn-secondary dropdown-toggle\" data-bs-toggle=\"dropdown\"/>\n                        <div class=\"dropdown-menu\" role=\"menu\">\n                            <t t-foreach=\"searchbar_inputs\" t-as=\"input\">\n                                <a t-att-href=\"'#' + input_value['input']\" t-attf-class=\"dropdown-item#{search_in == input_value['input'] and ' active' or ''}\">\n                                    <span t-out=\"input_value['label']\"/>\n                                </a>\n                            </t>\n                        </div>\n                        <input type=\"text\" class=\"form-control form-control-sm\" placeholder=\"Search\" t-att-value=\"search\" name=\"search\"/>\n                        <button class=\"btn btn-secondary o_wait_lazy_js\" type=\"submit\">\n                            <span class=\"fa fa-search\"/>\n                        </button>\n                    </div>\n                </form>\n            </div>\n        </nav>\n    </t>", "vi_VN": "<t name=\"Portal Search Bar\" t-name=\"portal.portal_searchbar\">\n        <nav t-attf-class=\"navbar navbar-light navbar-expand-lg border py-0 mb-2 o_portal_navbar {{classes if classes else ''}} {{'mt-3 rounded' if breadcrumbs_searchbar else 'border-top-0' }}\">\n            <!--  Navbar breadcrumb or title  -->\n            <t t-if=\"breadcrumbs_searchbar\">\n                <t t-call=\"portal.portal_breadcrumbs\"/>\n            </t>\n            <span t-else=\"\" class=\"navbar-brand mb-0 h1 me-auto\" t-esc=\"title or 'No title'\"/>\n\n            <!--  Collapse button -->\n            <button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#o_portal_navbar_content\" aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle filters\">\n                <span class=\"navbar-toggler-icon small\"/>\n            </button>\n\n            <!--  Collapsable content  -->\n            <div class=\"collapse navbar-collapse\" id=\"o_portal_navbar_content\">\n                <div class=\"nav flex-column flex-lg-row ms-auto p-0 mb-3 mb-lg-0 mt-1 mt-lg-0\">\n                    <div t-if=\"searchbar_sortings\">\n                        <span class=\"small me-1 navbar-text\">Sắp xếp theo:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_sortby\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_sortings[sortby].get('label', 'Newest')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_sortby\">\n                                <t t-foreach=\"searchbar_sortings\" t-as=\"option\">\n                                    <a t-att-href=\"request.httprequest.path + '?' + keep_query('*', sortby=option)\" t-attf-class=\"dropdown-item#{sortby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_sortings[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <div t-if=\"searchbar_filters\" class=\"ms-lg-2\">\n                        <span class=\"small me-1 navbar-text\">Lọc theo:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_filters\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_filters.get(filterby,searchbar_filters.get('all')).get('label', 'All')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_filters\">\n                                <t t-foreach=\"searchbar_filters\" t-as=\"option\">\n                                    <a t-att-href=\"default_url + '?' + keep_query('*', filterby=option)\" t-attf-class=\"dropdown-item#{filterby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_filters[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <div t-if=\"searchbar_groupby\" class=\"ms-lg-2\">\n                        <span class=\"small me-1 navbar-text\">Nhóm theo:</span>\n                        <div class=\"btn-group\">\n                            <button id=\"portal_searchbar_groupby\" data-bs-toggle=\"dropdown\" class=\"btn btn-secondary btn-sm dropdown-toggle\">\n                                <t t-esc=\"searchbar_groupby[groupby].get('label', 'None')\"/>\n                            </button>\n                            <div class=\"dropdown-menu\" aria-labelledby=\"portal_searchbar_groupby\">\n                                <t t-foreach=\"searchbar_groupby\" t-as=\"option\">\n                                    <a t-att-href=\"default_url + '?' + keep_query('*', groupby=option)\" t-attf-class=\"dropdown-item#{groupby == option and ' active' or ''}\">\n                                        <span t-esc=\"searchbar_groupby[option].get('label')\"/>\n                                    </a>\n                                </t>\n                            </div>\n                        </div>\n                    </div>\n                    <t t-out=\"0\"/>\n                </div>\n                <form t-if=\"searchbar_inputs\" class=\"o_portal_search_panel ms-lg-4 col-xl-4 col-md-5\">\n                    <div class=\"input-group input-group-sm w-100\">\n                        <button type=\"button\" class=\"btn btn-secondary dropdown-toggle\" data-bs-toggle=\"dropdown\"/>\n                        <div class=\"dropdown-menu\" role=\"menu\">\n                            <t t-foreach=\"searchbar_inputs\" t-as=\"input\">\n                                <a t-att-href=\"'#' + input_value['input']\" t-attf-class=\"dropdown-item#{search_in == input_value['input'] and ' active' or ''}\">\n                                    <span t-out=\"input_value['label']\"/>\n                                </a>\n                            </t>\n                        </div>\n                        <input type=\"text\" class=\"form-control form-control-sm\" placeholder=\"Tìm kiếm\" t-att-value=\"search\" name=\"search\"/>\n                        <button class=\"btn btn-secondary o_wait_lazy_js\" type=\"submit\">\n                            <span class=\"fa fa-search\"/>\n                        </button>\n                    </div>\n                </form>\n            </div>\n        </nav>\n    </t>"}