CRM-14015 - Extend everywhere via regex
[civicrm-core.git] / templates / CRM / Admin / Page / LocationType.tpl
index 5a56359883bd6366791cb2f69853b755a0b8f8af..3756ad48b8c592d87d15cc2950ff185e24c2ed91 100644 (file)
@@ -35,7 +35,8 @@
 <div id="ltype">
     {strip}
   {* handle enable/disable actions*}
-   {include file="CRM/common/enableDisable.tpl"}
+   {include file="CRM/common/enableDisableApi.tpl"}
+   {include file="CRM/common/crmeditable.tpl"}
     {include file="CRM/common/jsortable.tpl"}
     <table id="options" class="display">
     <thead>
@@ -50,7 +51,7 @@
     </tr>
     </thead>
     {foreach from=$rows item=row}
-    <tr id="row_{$row.id}"class="{cycle values="odd-row,even-row"} {$row.class} crm-locationType {if NOT $row.is_active} disabled{/if}">
+    <tr id="location_type-{$row.id}" class="{cycle values="odd-row,even-row"} {$row.class} crm-entity {if NOT $row.is_active} disabled{/if}">
         <td class="crm-locationType-name">{$row.name}</td>
         <td class="crm-locationType-display_name">{$row.display_name}</td>
         <td class="crm-locationType-vcard_name">{$row.vcard_name}</td>