@@ -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
282282The goal of this section will be to use JavaScript to read this attribute
283- and dynamically add new tag forms when the user clicksa "Add a tag"link .
283+ and dynamically add new tag forms when the user clicksthe "Add a tag"button .
284284This 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