CRM-16415 - convert button to crmButton - Campaign/Page/Petition.tpl
authorStephanie Gray <stephanie@freeform.ca>
Wed, 30 Sep 2015 18:30:01 +0000 (14:30 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 13 Oct 2015 18:50:12 +0000 (14:50 -0400)
templates/CRM/Campaign/Page/Petition.tpl

index e315c81e11ad0ec70ab3b4098e24af97934e1505..9845b310f6654695e1ec91e89d51b3f2b34b7c78 100644 (file)
@@ -27,9 +27,7 @@
 
 {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"}
@@ -70,7 +68,5 @@
   </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>