<commit_before><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <!-- Page template for displaying Brands -->
    <template id="product_brands" name="Brands">
        <t t-call="website.layout">
            <t t-set="additional_title">Product Brands</t>
            <div id="wrap" t-attf-class="wrapper">
                <div class="container">
                    <div class="row">
                        <form action="/page/product_brands" class="form-horizontal mt32 col-md-8" method="post" >
                            <div class="input-group" style="margin-left:60%;">
                                <div class="col-md-6">
                                    <input type="text" name="search" class="form-control" placeholder="Search..." t-att-value="search"/>
                                </div>
                                <div class="col-md-2">
                                    <button class="btn btn-primary">Search</button>
                                </div>
                            </div>
                            <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                        </form>
                    </div>
                    <br/>
                    <section>
                        <t t-if="brand_rec">
                            <t t-foreach="brand_rec" t-as="o">
                                <div class="col-md-3 d-md-inline-block">
                                    <a t-att-href="keep('/shop/brands',brand = o.id)">
                                        <div class="row">
                                            <div class="col">
                                                <img itemprop="image" width="200px" height="200px" class="img" t-attf-src="/website/image/product.brand/#{o.id}/logo#{'?max_width=300&amp;max_height=300'}"/>
                                            </div>
                                        </div>
                                        <div class="row text-center">
                                            <t t-esc="o.name" />
                                        </div>
                                    </a>
                                </div>
                            </t>
                        </t>
                        <t t-if="not brand_rec">
                            <div class="text-center text-muted">
                                <h3 class="css_editable_display">No Brands Found.</h3>
                            </div>
                        </t>
                    </section>
                </div>
            </div>
        </t>
    </template>

    <template id="categories_recursive" inherit_id="website_sale.categories_recursive">
        <xpath expr="//<EMAIL>='c.<EMAIL>']/.." position="attributes">
            <attribute name="t-att-href">keep('/shop/category/' + slug(c), category=0, brand=brand)</attribute><commit_msg>[IMP] website_sale_product_brand: Better website view<commit_after><?xml version="1.0" encoding="utf-8"?>
<odoo>

    <!-- Page template for displaying Brands -->
    <template id="product_brands" name="Brands">
        <t t-call="website.layout">
            <t t-set="additional_title">Product Brands</t>
            <div id="wrap" t-attf-class="wrapper">
                <div class="container">
                    <div class="row">
                        <form action="/page/product_brands" class="form-horizontal mt32 col-lg-8" method="post" >
                            <div class="input-group" style="margin-left:60%;">
                                <div class="col-lg-6">
                                    <input type="text" name="search" class="form-control" placeholder="Search..." t-att-value="search"/>
                                </div>
                                <div class="col-lg-2">
                                    <button class="btn btn-primary">Search</button>
                                </div>
                            </div>
                            <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                        </form>
                    </div>
                    <br/>
                    <section>
                        <t t-if="brand_rec">
                            <div class="row">
                                <t t-foreach="brand_rec" t-as="o">
                                    <div class="col-lg-3 d-lg-inline-block">
                                        <a t-att-href="keep('/shop/brands',brand = o.id)">
                                            <div class="row text-center">
                                                <div class="col">
                                                    <img itemprop="image" width="200px" height="200px" class="img" t-attf-src="/website/image/product.brand/#{o.id}/logo#{'?max_width=300&amp;max_height=300'}"/>
                                                </div>
                                            </div>
                                            <div class="row text-center">
                                                <div class="col">
                                                    <t t-esc="o.name" />
                                                </div>
                                            </div>
                                        </a>
                                    </div>
                                </t>
                            </div>
                        </t>
                        <t t-if="not brand_rec">
                            <div class="text-center text-muted">
                                <h3 class="css_editable_display">No Brands Found.</h3>
                            </div>
                        </t>
                    </section>
                </div>
            </div>
        </t>
    </template>

    <template id="categories_recursive" inherit_id="website_sale.categories_recursive">
        <xpath expr="//span[@t-field='c.<EMAIL>']/.." position="attributes">
            <attribute name="t-att-href">keep('/shop/category/' + slug(c), category=0, brand=brand)</attribute>
{'fraction_non_alphanumeric': 0.1358447488584475, 'fraction_numerical': 0.008480104370515329, 'mean_word_length': 0.9070273631840796, 'pattern_counts': {'":': 0, '<': 122, '<?xml version=': 2, '>': 122, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 49, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2974658', 'n_tokens_mistral': 1502, 'n_tokens_neox': 1405, 'n_words': 246}