<?xml version="1.0"?>
<data name="Survey User Input Session" inherit_id="web.frontend_layout" primary="True">
        <xpath expr="//div[@id='wrapwrap']" position="before">
            <!--TODO DBE Fix me : If one day, there is a survey_livechat bridge module, put this in that module-->
            <t t-set="no_livechat" t-value="True"/>
        </xpath>
        <xpath expr="//div[@id='wrapwrap']" position="attributes">
            <attribute name="t-att-style" add="(('background-image: url(' + survey.session_question_id.background_image_url + ');')                              if survey.session_question_id and survey.session_question_id.background_image_url                              else ('background-image: url(' + survey.background_image_url + ');')                              if survey.background_image_url                              else '')"/>
            <attribute name="t-att-class" add="'o_survey_background'"/>
        </xpath>
        <xpath expr="//head/t[@t-call-assets][last()]" position="after">
            <t t-call-assets="survey.survey_assets" lazy_load="True"/>
            <t t-call-assets="survey.survey_user_input_session_assets" lazy_load="True"/>
        </xpath>
        <xpath expr="//header" position="before">
            <t t-set="no_header" t-value="True"/>
            <t t-set="no_footer" t-value="True"/>
        </xpath>
        <xpath expr="//header" position="after">
            <div id="wrap" class="oe_structure oe_empty"/>
        </xpath>
    <xpath expr="." position="attributes"><attribute name="t-name">survey.user_input_session</attribute></xpath></data>

    