From 5e80a94bebe0f0023bfc66c782de42194143ff48 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 3 Nov 2014 21:17:16 -0500 Subject: [PATCH] Fix Custom/Page/Option.tpl to separate form from page --- templates/CRM/Custom/Page/Option.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/CRM/Custom/Page/Option.tpl b/templates/CRM/Custom/Page/Option.tpl index 9608786b32..68755e4448 100644 --- a/templates/CRM/Custom/Page/Option.tpl +++ b/templates/CRM/Custom/Page/Option.tpl @@ -25,9 +25,8 @@ *} {if $action eq 1 or $action eq 2 or $action eq 4 or $action eq 8} {include file="CRM/Custom/Form/Option.tpl"} -{/if} - -{if $customOption} +{else} + {if $customOption} {if $reusedNames}
  {ts 1=$reusedNames}These Multiple Choice Options are shared by the following custom fields: %1{/ts} @@ -70,11 +69,12 @@
-{else} + {else} {if $action eq 16}
{ts}status{/ts} - {capture assign=crmURL}{crmURL p='civicrm/admin/custom/group/field/option' q="action=add&fid=$fid&gid=$gid"}{/capture}{ts 1=$fieldTitle 2=$crmURL}There are no multiple choice options for the custom field '%1', add one.{/ts} + {ts}None found.{/ts}
{/if} + {/if} {/if} -- 2.25.1