Skip to content

Commit

Permalink
Merge pull request #50 from AdamVyborny/patch-1
Browse files Browse the repository at this point in the history
->containers je deprecated, nahrazeno ->getContainers()
  • Loading branch information
fprochazka authored May 31, 2017
2 parents 0cb2a81 + ae3a897 commit 10133eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ When you add a submit button to replicator, you certainly don't want to try it r

```html
{form myForm}
{foreach $form['users']->containers as $user}
{foreach $form['users']->getContainers() as $user}

{$user['name']->control} {$user['name']->label}

Expand All @@ -213,7 +213,7 @@ Or with form macros

```html
{form myForm}
{foreach $form['users']->containers as $id => $user}
{foreach $form['users']->getContainers() as $id => $user}

{input users-$id-name} {label users-$id-name /}

Expand Down

0 comments on commit 10133eb

Please sign in to comment.