{*
*  @author    WebDigify
*  @copyright 2015-2018 WebDigify. All Rights Reserved.
*  @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*}
<div class="compare">
	<a class="add_to_compare btn btn-primary{if $added} checked{/if}" href="#" data-id-product="{$id_product}" data-dismiss="modal" title="{if $added}{l s='Remove from Compare' mod='wdcompare'}{else}{l s='Add to Compare' mod='wdcompare'}{/if}">
		<i class="material-icons compare_icon">equalizer</i>
		<span>{l s='Compare' mod='wdcompare'}</span>
		<span class="loading"><i class="material-icons">cached</i></span>
	</a>
</div>
