<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-name="survey.DescriptionPageField" t-inherit="web.CharField">
        <xpath expr="//t[@t-else='']" position="replace">
            <t t-else="">
                <div class="input-group">
                    <t t-call="web.CharField"/>
                    <button type="button" title="Open section" class="btn oe_edit_only o_icon_button" t-on-click.stop="onExternalBtnClick">
                        <i class="fa fa-fw o_button_icon fa-external-link"/>
                    </button>
                </div>
            </t>
        </xpath>
        <xpath expr="//span[@t-esc='formattedValue']" position="after">
            <t t-if="props.record.data.is_page">
                <i class="fa fa-fw o_button_icon fa-pencil"/>
            </t>
        </xpath>
    </t>

</templates>
