Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
TemplateControlTrait: initialized formsStack [closes #51]
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Sep 23, 2017
1 parent c3f1698 commit c759181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controls/Fragments/TemplateControlTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ protected function createTemplate()
if ($template instanceof Template) {
$presenter = $this->getPresenter(false);
$latte = $template->getLatte();
$latte->addProvider('formsStack', [$this]);
$latte->addProvider('uiControl', $this);
$latte->addProvider('uiPresenter', $presenter);
$latte->addProvider('snippetBridge', new SnippetBridge($this));
Expand Down

0 comments on commit c759181

Please sign in to comment.