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

    <t t-name="web.BooleanFavoriteField">
        <div class="o_favorite" t-on-click.prevent.stop="update">
            <a href="#">
                <t t-if="props.record.data[props.name]">
                    <i class="fa fa-star me-1" role="img" title="Remove from Favorites" aria-label="Remove from Favorites"/>
                    <t t-if="!props.noLabel">Remove from Favorites</t>
                </t>
                <t t-else="">
                    <i class="fa fa-star-o me-1" role="img" title="Add to Favorites" aria-label="Add to Favorites"/>
                    <t t-if="!props.noLabel">Add to Favorites</t>
                </t>
            </a>
        </div>
    </t>

</templates>
