Skip to content

Commit acfe6b6

Browse files
committed
[#14340] Some minor textual changes
1 parent 0ceb959 commit acfe6b6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

form/form_collections.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,12 @@ On the rendered page, the result will look something like this:
280280
and you need to adjust the following JavaScript accordingly.
281281

282282
The goal of this section will be to use JavaScript to read this attribute
283-
and dynamically add new tag forms when the user clicks a "Add a tag" link.
283+
and dynamically add new tag forms when the user clicks the "Add a tag" button.
284284
This example uses jQuery and assumes you have it included somewhere on your page.
285285

286-
Add a ``script`` tag somewhere on your page so you can start writing some JavaScript.
287-
288-
First, add a link to the bottom of the "tags" list via JavaScript. Second,
289-
bind to the "click" event of that link so you can add a new tag form (``addTagForm()``
290-
will be show next):
286+
Add a ``script`` tag somewhere on your page so you can start writing some
287+
JavaScript. In this script, bind to the "click" event of the "Add a tag"
288+
button so you can add a new tag form (``addFormToCollection()`` will be show next):
291289

292290
.. code-block:: javascript
293291

0 commit comments

Comments
 (0)