You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assets_frontend" inherit_id="website.assets_frontend" name="Website Support Assets"> <xpath expr="//script[last()]" position="after"> <script type="text/javascript" src="/website_contact_extend/static/src/js/contactus.js"/> </xpath> </template>
<!--<template id="contactus_form_inherited" name="Contact Form" inherit_id="website_crm.contactus_form" customize_show="True">--> <!--<xpath expr="//div[@class='form-group row form-field o_website_form_required_custom'][last()]" position="after">--> <!--<div class="form-group row form-field o_website_form_required_custom">--> <!--<label class="col-lg-3 col-md-4 col-form-label" for="contact_type">Request GDPDR</label>--> <!--<div class="col-lg-7 col-md-8">--> <!--<div class="checkbox>"><label><input type="checkbox" name="request_gdpdr" value="request_gdpdr"/></label></div>--> <!--<!–<div class="checkbox>"><label><input type="checkbox" name="letter_contact" value="letter_contact"/> Contact by Letter </label></div>–>--> <!--<!–<div class="checkbox>"><label><input type="checkbox" name="email_contact" value="email_contact"/> Contact by E-Mail </label></div>–>--> <!--<!–<div class="checkbox>"><label><input type="checkbox" name="phone_contact" value="phone_contact"/> Contact by Phone </label></div>–>--> <!--<!–<select class="form-control" name="contact_type" id="contact_type">--> <!--<option value="no_contact">I do not want to be contacted.</option>--> <!--<option value="email_contact">I only want to be contacted by Email.</option>--> <!--<option value="phone_contact">I only want to be contacted by Phone.</option>--> <!--<option value="email_phone_contact">You can contact me by Email or Phone.</option>--> <!--</select>–>--> <!--</div>--> <!--</div>--> <!--<div class="form-group row form-field">--> <!--<label class="col-lg-3 col-md-4 col-form-label" for="contact_type">Information request concerning data about the personally</label>--> <!--<div class="col-lg-7 col-md-8">--> <!--<input type="checkbox" name="send_mail" value="send_mail"/>--> <!--</div>--> <!--</div>--> <!--</xpath>--> <!--</template>-->
<!--t-attf="http.request.session.review_form ? '/contact-us-form-review' : '/contactus-thank-you'"-->
<template id="contactus_form_inherited" name="Contact Form" inherit_id="website_crm.contactus_form" customize_show="True"> <xpath expr="//div" position="replace"> <div class="container"> <form action="/website_form/" method="post" data-model_name="crm.lead" data-success_page="/contactus-thank-you" class="s_website_form container-fluid mt32" enctype="multipart/form-data" data-editable-form="false"> <div class="form-group row form-field o_website_form_required_custom"> <label class="col-lg-3 col-md-4 col-form-label" for="contact_name">Your Name</label> <div class="col-lg-7 col-md-8"> <input type="text" class="form-control o_website_form_input" name="contact_name" t-att-value="request.params.get('contact_name', '')" required=""/> </div> </div> <div class="form-group row form-field"> <label class="col-lg-3 col-md-4 col-form-label" for="phone">Phone Number</label> <div class="col-lg-7 col-md-8"> <input type="text" class="form-control o_website_form_input" name="phone" t-att-value="request.params.get('phone', '')"/> </div> </div> <div class="form-group row form-field o_website_form_required_custom"> <label class="col-lg-3 col-md-4 col-form-label" for="email_from">Email</label> <div class="col-lg-7 col-md-8"> <input type="text" class="form-control o_website_form_input input_email_from" name="email_from" required="" t-att-value="request.params.get('email_from', '')"/> </div> </div> <div class="form-group row form-field o_website_form_required_custom"> <label class="col-lg-3 col-md-4 col-form-label" for="partner_name">Your Company</label> <div class="col-lg-7 col-md-8"> <input type="text" class="form-control o_website_form_input input_company" name="partner_name" required="" t-att-value="request.params.get('partner_name', '')"/> </div> </div> <div class="form-group row form-field o_website_form_required"> <label class="col-lg-3 col-md-4 col-form-label" for="name">Subject</label> <div class="col-lg-7 col-md-8"> <input type="text" class="form-control o_website_form_input" name="name" required="" t-att-value="request.params.get('name', '')"/> </div> </div> <div class="form-group row form-field o_website_form_required_custom"> <label class="col-lg-3 col-md-4 col-form-label" for="description">Your Question</label> <div class="col-lg-7 col-md-8"> <textarea class="form-control o_website_form_input" name="description" required=""> <t t-esc="request.params.get('description', '')"/> </textarea> </div> </div> <div class="form-group row form-field"> <label class="col-lg-3 col-md-4 col-form-label" for="request_gdpdr">Set contact channel</label> <div class="col-lg-7 col-md-8"> <div class="checkbox>"> <label> <input type="checkbox" name="request_gdpdr" value="request_gdpdr"/> </label> </div> </div> </div> <div class="form-group row form-field"> <label class="col-lg-3 col-md-4 col-form-label" for="send_mail">Information request about personal data </label> <div class="col-lg-7 col-md-8"> <input type="checkbox" name="send_mail" value="send_mail"/> </div> </div> <div class="form-group row"> <div class="offset-lg-3 offset-md-4 col-md-8 col-lg-7"> <a href="#" role="button" class="btn btn-primary btn-lg o_website_form_send">Send</a> <span id="o_website_form_result"></span> </div> </div> </form> </div>
</xpath> </template>
<!--<record id="contactus_thanks_override" model="website.page">--> <!--<field name="inherit_id" ref="website_crm.contactus_thanks_ir_ui_view"></field>--> <!--<!–<field name="key">website_crm.contactus_thanks</field>–>--> <!--<field name="arch" type="xml">--> <!--<xpath expr="//t/t/div[@id='wrap']" position="replace">--> <!--<body>--> <!--<div>Hello</div>--> <!--</body>-->
<!--</xpath>--> <!--</field>--> <!--</record>-->
<!--<record id="contactus_form_review" model="website.page">--> <!--<field name="name">Review Form</field>--> <!--<field name="type">qweb</field>--> <!--<field name="url">/contact-us-form-review</field>--> <!--<field name="website_published">True</field>--> <!--<field name="key">website_contact_extend.contactus_form_review</field>--> <!--<field name="arch" type="xml">--> <!--<body>--> <!--<div>Hello from Review</div>--> <!--</body>-->
<!--</field>--> <!--</record>--> </odoo>
|