File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -304,14 +304,10 @@ button so you can add a new tag form (``addFormToCollection()`` will be show nex
304304 })
305305 });
306306
307- The ``addTagForm() `` function's job will be to use the ``data-prototype `` attribute
308- to dynamically add a new form when this link is clicked. The ``data-prototype ``
309- HTML contains the tag ``text `` input element with a name of ``task[tags][__name__][name] ``
310- and id of ``task_tags___name___name ``. The ``__name__ `` is a little "placeholder",
311- which you'll replace with a unique, incrementing number (e.g. ``task[tags][3][name] ``).
312-
313- The actual code needed to make this all work can vary quite a bit, but here's
314- one example:
307+ The ``data-prototype `` HTML contains the tag's ``text `` input element with a name of
308+ ``task[tags][__name__][name] `` and id of ``task_tags___name___name ``. The ``__name__ ``
309+ part is a "placeholder", which is replaced by a unique, incrementing number
310+ (e.g. ``task[tags][3][name] ``).
315311
316312.. code-block :: javascript
317313
You can’t perform that action at this time.
0 commit comments