<template id="debugger" inherit_option_id="website.layout" name="Debugger & Tests">
<xpath expr='//t[@name="layout_head"]' position="after">
- <script type="text/javascript" src="/website/static/src/js/website.tour.js"></script>
+ <t t-set="debugger_hook" t-value="1" />
</xpath>
</template>
<!-- Layout add nav and footer -->
<template id="debugger" inherit_id="website.debugger" name="Event Debugger">
- <xpath expr="//script[last()]" position="after">
+ <xpath expr='//t[@t-set="debugger_hook"]' position="after">
<script type="text/javascript" src="/website_sale/static/src/js/website.tour.sale.js"></script>
</xpath>
</template>
method="POST">
<img class="img pull-left img-rounded" t-att-src="'/website/image?model=res.partner&field=image_small&id='+str(user_id.partner_id.id)" style="width: 50px; margin-right: 10px;"/>
<div class="pull-left mb32" style="width: 75%%">
-
+
<textarea rows="3" name="comment" class="form-control" placeholder="Write a comment..."></textarea>
<a class="btn btn-primary mt8 a-submit">Post</a>
</div>