From 126aba2841e7c812c5274738080888929f1c0111 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 30 Mar 2020 15:35:55 +0200 Subject: [PATCH] Rephrasing the "If you render your whole" note ...and moving it down, just above the "The goal of this section will be to use JavaScript" paragraph --- form/form_collections.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/form/form_collections.rst b/form/form_collections.rst index d5d26a873eb..08846e0b8f4 100644 --- a/form/form_collections.rst +++ b/form/form_collections.rst @@ -280,12 +280,6 @@ new "tag" forms. To render it, make the following change to your template: ... -.. note:: - - If you render your whole "tags" sub-form at once (e.g. ``form_row(form.tags)``), - then the prototype is automatically available on the outer ``div`` as - the ``data-prototype`` attribute, similar to what you see above. - .. tip:: The ``form.tags.vars.prototype`` is a form element that looks and feels just @@ -304,6 +298,12 @@ On the rendered page, the result will look something like this: