Skip to content

Commit 8b4919a

Browse files
committed
Changing the getVar method to get (only valid for 2.1)
1 parent 56d7ff0 commit 8b4919a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ new "tag" forms. To render it, make the following change to your template:
321321

322322
.. code-block:: html+php
323323

324-
<ul class="tags" data-prototype="<?php echo $view->escape($view['form']->row($form['tags']->getVar('prototype'))) ?>">
324+
<ul class="tags" data-prototype="<?php echo $view->escape($view['form']->row($form['tags']->get('prototype'))) ?>">
325325
...
326326
</ul>
327327

0 commit comments

Comments
 (0)