X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2Fcommon%2FformButtons.tpl;h=bba2c80bede8021929c4fa3e0324ac20a5ecaf5f;hb=cf7754d71abb04c50f7501894881da003baa7f59;hp=d0de0cf2cbf43901b80a283223e6a3250e569d2f;hpb=7dee6a13d167a1dd2b4bf1075252bcb7e324c7e5;p=civicrm-core.git diff --git a/templates/CRM/common/formButtons.tpl b/templates/CRM/common/formButtons.tpl index d0de0cf2cb..bba2c80bed 100644 --- a/templates/CRM/common/formButtons.tpl +++ b/templates/CRM/common/formButtons.tpl @@ -27,8 +27,8 @@ {* Loops through $form.buttons.html array and assigns separate spans with classes to allow theming by button and name. crmBtnType grabs type keyword from button name (e.g. 'upload', 'next', 'back', 'cancel') so types of buttons can be styled differently via css. *} - -{foreach from=$form.buttons item=button key=key name=btns} +{crmRegion name='form-buttons'} + {foreach from=$form.buttons item=button key=key name=btns} {if $key|substring:0:4 EQ '_qf_'} {if $location} {assign var='html' value=$form.buttons.$key.html|crmReplace:id:"$key-$location"} @@ -38,4 +38,5 @@ {capture assign=validate}{$key|crmBtnValidate}{/capture} {$html|crmAddClass:$validate} {/if} -{/foreach} + {/foreach} +{/crmRegion}