CRM-15578 - body_text, body_html - Allow multiple instances
[civicrm-core.git] / partials / crmMailing2 / mailing.html
index 62b4b524ad2a1040e81f9ff3ff377be461732801..ed33ec2d11c071ad55dedff7f23306d1ddfb9cff 100644 (file)
@@ -1,6 +1,8 @@
 <!--
 Controller: EditMailingCtrl
 Required vars: mailing, crmMailingConst
+Note: Much of this file is duplicated in crmMailing and crmMailingAB with variations on placement/title/binding.
+It could perhaps be thinned by 30-60% by making more directives.
 -->
 <div class="crm-block" ng-form="subform" crm-ui-id-scope>
   <div class="crm-group">
@@ -73,7 +75,7 @@ Required vars: mailing, crmMailingConst
     </div>
     <div crm-ui-field="subform.subject" crm-title="ts('Subject')">
       <div style="float: right;">
-        <input crm-mailing-token crm-for="subject" />
+        <input crm-mailing-token crm-for="subform.subject" />
       </div>
       <input
         crm-ui-id="subform.subject"