2013-07-02 16:03:31 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2013-08-23 13:01:08 +00:00
|
|
|
|
2013-08-10 17:01:10 +00:00
|
|
|
<template id="contactus_form" name="Contact Form" inherit_id="website.contactus" inherit_option_id="website.contactus">
|
2013-08-10 13:26:11 +00:00
|
|
|
<xpath expr="//div[@name='mail_button']" position="replace">
|
2013-09-26 14:58:45 +00:00
|
|
|
<form t-action="/crm/contactus" method="post" class="form-horizontal mt32" >
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="contact_name">Your Name</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
2013-08-23 13:01:08 +00:00
|
|
|
<input type="text" class="form-control" name="contact_name" required="True" />
|
2013-08-10 17:27:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="phone">Phone Number</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
2013-08-23 13:01:08 +00:00
|
|
|
<input type="text" class="form-control" name="phone" required="True" placeholder="e.g. (+32).81.81.37.00"/>
|
2013-08-10 17:27:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="email_from">Email</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
2013-08-23 13:01:08 +00:00
|
|
|
<input type="email" class="form-control" name="email_from" required="True" />
|
2013-08-10 17:27:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<label class="col-md-3 col-sm-4 control-label" for="name">Subject</label>
|
|
|
|
<div class="col-md-7 col-sm-8">
|
2013-08-23 13:01:08 +00:00
|
|
|
<input type="text" class="form-control" name="name" required="True"/>
|
2013-08-10 17:27:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<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" style="min-height: 120px"/>
|
2013-08-10 17:27:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-23 13:01:08 +00:00
|
|
|
<div class="form-group">
|
2013-08-29 22:04:25 +00:00
|
|
|
<div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
|
|
|
|
<button class="btn btn-primary btn-lg">Send</button>
|
2013-08-10 17:42:09 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-10 13:26:11 +00:00
|
|
|
</form>
|
|
|
|
</xpath>
|
|
|
|
</template>
|
2013-07-02 16:21:35 +00:00
|
|
|
|
2013-07-22 11:08:36 +00:00
|
|
|
<template id="thanks">
|
2013-08-10 13:26:11 +00:00
|
|
|
<t t-call="website.layout">
|
2013-08-10 17:42:09 +00:00
|
|
|
<t t-set="title">Message Sent</t>
|
2013-09-15 17:25:37 +00:00
|
|
|
<div id="wrap" class="oe_structure">
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-success">
|
|
|
|
Your message has been sent successfully.
|
|
|
|
<button type="button" class="close" data-dismiss="alert">&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="list-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"/></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-08-10 13:26:11 +00:00
|
|
|
</div>
|
|
|
|
</t>
|
2013-07-22 11:08:36 +00:00
|
|
|
</template>
|
2013-08-23 13:01:08 +00:00
|
|
|
|
2013-07-02 16:03:31 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|