Skip to content

Commit

Permalink
Look for the form template, relative to the form
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Jan 21, 2020
1 parent adcd586 commit 9c322d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Decorators/DefaultFormDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,9 @@ public function setForm(Form $form): FormDecorator
$this->_form = $form;
return $this;
}

protected function _getTemplatedPhtmlClassList()
{
return [get_class($this->getForm()), $this->_getTemplatedPhtmlClass()];
}
}

0 comments on commit 9c322d2

Please sign in to comment.