{if $surveys}
<div class="action-link">
- <a href="{$addSurveyUrl}" class="button">
- <span><i class="crm-i fa-plus-circle"></i> {ts}Add Survey{/ts}</span>
- </a>
+ {crmButton href=$addSurveyUrl icon="crm-i fa-plus-circle"}{ts}Add Survey{/ts}{/crmButton}
</div>
{include file="CRM/common/enableDisableApi.tpl"}
{include file="CRM/common/jsortable.tpl"}
</div>
{/if}
<div class="action-link">
- <a href="{$addSurveyUrl}" class="button">
- <span><i class="crm-i fa-plus-circle"></i> {ts}Add Survey{/ts}</span>
- </a>
+ {crmButton href=$addSurveyUrl icon="crm-i fa-plus-circle"}{ts}Add Survey{/ts}{/crmButton}
</div>