<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- © 2015 <NAME>, S.L.
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->

<openerp>
<data>

<template id="website_snippet_contact_form"
          inherit_id="website.snippets"
          name="Contact Form">
    <xpath expr="//div[@id='snippet_content']">
        <div>
            <div class="oe_snippet_thumbnail">
                <img src="/website_snippet_contact_form/static/description/icon.png"
                     class="oe_snippet_thumbnail_img"/>
                <span class="oe_snippet_thumbnail_title">
                    Contact Form
                </span>
            </div>

            <form action="/crm/contactus"
                  method="post"
                  class="form-horizontal oe_snippet_body website_snippet_contact_form mt32"
                  enctype="multipart/form-data">

                <div class="text-center">
                    <h2>Contact Form</h2>
                    <h3 class="text-muted">Tell us something!</h3>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="contact_name">
                        Your Name
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="contact_name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="phone">
                        Phone Number
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="phone"
                               type="text"/>
                    </div>
                </div>

                <div name="email_from_container" class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="email_from">
                        Email
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="email_from"
                               required="required"
                               type="email"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="partner_name">
                        Your Company
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="partner_name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="name">
                        Subject
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="description">
                        Your Question
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <textarea class="form-control"
                                  name="description"
                                  required="required"></textarea>
                    </div>
                </div>

                <div id="allow_attach" class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="filename">
                        File Upload
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input id="filename" type="file" name="filename" />
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="terms"></label>
                    <div class="col-md-7 col-sm-8">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"
                                       name="privacy_policy"
                                       required="True"/>
                                I have read and accept the
                                <a href="/page/privacy"
                                   target="_blank"
                                   title="Privacy Policy"
                                   >Privacy Policy</a>.
                            </label>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
                        <button class="btn btn-primary btn-lg"
                                type="submit">
                            Send
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </xpath>
    <xpath expr="//div[@id='snippet_options']" position="inside">
        <div data-snippet-option-id='website_snippet_contact_form'
            data-selector=".website_snippet_contact_form"
            data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
            data-selector-children=".content"
           >
           <li data-value="allow-attach"><a>Allow Attachment</a></li>
        </div>
    </xpath>

</template>

</data>
</openerp><commit_msg>[FIX][8.0] website_snippet_contact_form: Remove class 'toggle'<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- © 2015 <NAME>, S.L.
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->

<openerp>
<data>

<template id="website_snippet_contact_form"
          inherit_id="website.snippets"
          name="Contact Form">
    <xpath expr="//div[@id='snippet_content']">
        <div>
            <div class="oe_snippet_thumbnail">
                <img src="/website_snippet_contact_form/static/description/icon.png"
                     class="oe_snippet_thumbnail_img"/>
                <span class="oe_snippet_thumbnail_title">
                    Contact Form
                </span>
            </div>

            <form action="/crm/contactus"
                  method="post"
                  class="form-horizontal oe_snippet_body website_snippet_contact_form mt32"
                  enctype="multipart/form-data">

                <div class="text-center">
                    <h2>Contact Form</h2>
                    <h3 class="text-muted">Tell us something!</h3>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="contact_name">
                        Your Name
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="contact_name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="phone">
                        Phone Number
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="phone"
                               type="text"/>
                    </div>
                </div>

                <div name="email_from_container" class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="email_from">
                        Email
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="email_from"
                               required="required"
                               type="email"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="partner_name">
                        Your Company
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="partner_name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="name">
                        Subject
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input class="form-control"
                               name="name"
                               required="required"
                               type="text"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="description">
                        Your Question
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <textarea class="form-control"
                                  name="description"
                                  required="required"></textarea>
                    </div>
                </div>

                <div id="allow_attach" class="form-group">
                    <label class="col-md-3 col-sm-4 control-label"
                           for="filename">
                        File Upload
                    </label>
                    <div class="col-md-7 col-sm-8">
                        <input id="filename" type="file" name="filename" />
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-3 col-sm-4 control-label" for="terms"></label>
                    <div class="col-md-7 col-sm-8">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"
                                       name="privacy_policy"
                                       required="True"/>
                                I have read and accept the
                                <a href="/page/privacy"
                                   target="_blank"
                                   title="Privacy Policy"
                                   >Privacy Policy</a>.
                            </label>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
                        <button class="btn btn-primary btn-lg"
                                type="submit">
                            Send
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </xpath>
    <xpath expr="//div[@id='snippet_options']" position="inside">
        <div data-snippet-option-id='website_snippet_contact_form'
            data-selector=".website_snippet_contact_form"
            data-selector-siblings="p, h1, h2, h3, blockquote, .well, .panel"
            data-selector-children=".content"
           >
            <li data-value=""><a>Not Allow Attachment</a></li>
            <li data-value="allow-attach"><a>Allow Attachment</a></li>
        </div>
    </xpath>

</template>

</data>
</openerp>
{'fraction_non_alphanumeric': 0.11736373123544995, 'fraction_numerical': 0.008830376495143294, 'mean_word_length': 0.8852905569007264, 'pattern_counts': {'":': 0, '<': 213, '<?xml version=': 2, '>': 213, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '668007', 'n_tokens_mistral': 3168, 'n_tokens_neox': 2924, 'n_words': 531}