<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <template id="contactus_form" name="Contact Form" inherit_id="website.contactus" inherit_option_id="website.contactus">
            <xpath expr="//div[@name='mail_button']" position="replace">
                <form action="/crm/contactus" method="post" class="form-horizontal">
                    <div class="control-group">
                        <label class="control-label" for="contact_name">Name</label>
                        <div class="controls">
                            <input type="text" name="contact_name" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="phone">Phone number</label>
                        <div class="controls">
                            <input type="text" name="phone" required="True" placeholder="e.g. (+32).81.81.37.00"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="email_from">Email</label>
                        <div class="controls">
                            <input type="text" name="email_from" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name">Subject</label>
                        <div class="controls">
                            <input type="text" name="name" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="description">Your Question</label>
                        <div class="controls">
                            <textarea name="description"/>
                        </div>
                    </div>
                    <button class="btn">Send message</button>
                </form>
            </xpath>
        </template>

        <template id="thanks">
            <t t-call="website.layout">
                <t t-set="title">Thank You!</t>
                <div class="container">
                    <div class="oe_row">
                        <h2 class="oe_slogan">Thanks for your message.</h2>
                    </div>
                </div><commit_msg>[IMP] Improved feedback page for contact us<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <template id="contactus_form" name="Contact Form" inherit_id="website.contactus" inherit_option_id="website.contactus">
            <xpath expr="//div[@name='mail_button']" position="replace">
                <form action="/crm/contactus" method="post" class="form-horizontal">
                    <div class="control-group">
                        <label class="control-label" for="contact_name">Name</label>
                        <div class="controls">
                            <input type="text" name="contact_name" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="phone">Phone number</label>
                        <div class="controls">
                            <input type="text" name="phone" required="True" placeholder="e.g. (+32).81.81.37.00"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="email_from">Email</label>
                        <div class="controls">
                            <input type="text" name="email_from" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name">Subject</label>
                        <div class="controls">
                            <input type="text" name="name" required="True"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="description">Your Question</label>
                        <div class="controls">
                            <textarea name="description"/>
                        </div>
                    </div>
                    <div class="control-group">
                        <div class="controls">
                            <button class="btn">Send</button>
                        </div>
                    </div>
                </form>
            </xpath>
        </template>

        <template id="thanks">
            <t t-call="website.layout">
                <t t-set="title">Message Sent</t>
                <div class="container">
                    <div class="alert mt32">
                        Your message has been sent successfully.
                        <button type="button" class="close" data-dismiss="alert">&amp;times;</button>
                    </div>
                    <h2>Thanks!</h2>
                    <p>
                        We will get back to you shortly.
                    </p><p class="mt64">
                        If you have an emergency, do not hesitate to contact us by phone:
                    </p>
                    <ul class='unstyled'>
                        <li><i class="icon-phone"></i> : <span t-field="res_company.phone"/></li>
                        <li><i class="icon-envelope"></i> : <span t-field="res_company.email"></span></li>
                    </ul>
                </div>
{'fraction_non_alphanumeric': 0.13782219884271435, 'fraction_numerical': 0.005961774504646677, 'mean_word_length': 1.1930026912725875, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 2, '>': 138, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6802018', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1303, 'n_words': 270}