Add in-app docs re prefilling multiple ids in repeating blocks
authorNoah Miller <nm@lemnisc.us>
Mon, 2 Oct 2023 20:54:35 +0000 (16:54 -0400)
committerNoah Miller <nm@lemnisc.us>
Mon, 2 Oct 2023 20:54:35 +0000 (16:54 -0400)
ext/afform/admin/ang/afGuiEditor/entityConfig/Options.html

index 15878ad8a97b092755abd882dddab1144cdfac63..3e5ff44bb98aa2997e66c69470c21e3ef533c701 100644 (file)
     {{:: ts('Without Role-Based access, users of the form will be able to view and update any %1 by changing the id in the URL.', {1: getMeta().label}) }}
   </div>
   <div class="description" ng-if="$ctrl.entity['url-autofill'] === '1'">
-    {{:: ts('Update %1 by including the id in the link to this form:', {1: getMeta().label}) }}
-    <code>
-      {{ ($ctrl.editor.getLink() || '') + '#?' + $ctrl.entity.name + '=123' }}
-    </code>
+    <p>
+      {{:: ts('Update %1 by including the id in the link to this form:', {1: $ctrl.entity.name}) }}
+      <code>
+        {{ ($ctrl.editor.getLink() || '') + '#?' + $ctrl.entity.name + '=123' }}
+      </code>
+    </p>
+    <p>
+      {{:: ts('If you have made a repeating container for %1, you may update multiple %2s using comma-separated ids:', {1: $ctrl.entity.name, 2: getMeta().label}) }}
+      <code>
+        {{ ($ctrl.editor.getLink() || '') + '#?' + $ctrl.entity.name + '=123,456' }}
+      </code>
+    </p>
   </div>
 </div>