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

index c7541016c24e0590e96168b659486ec5202419e5..c73cb635828b8116252f5953a9b97cdd86a48946 100644 (file)
@@ -67,8 +67,7 @@
 
       {if $action ne 1 and $action ne 2}
         <div class="action-link">
-          <a href="{crmURL q="action=add&reset=1"}" id="newbadge-layout"
-             class="button"><span><i class="crm-i fa-plus-circle"></i> {ts}New Badge Layout{/ts}</span></a>
+          {crmButton q="action=add&reset=1" id="newbadge-layout" icon="crm-i fa-plus-circle"}{ts}New Badge Layout{/ts}{/crmButton}
         </div>
       {/if}
     </div>