yiisoft/yii2-twig

How to include one macro in another macro from different twig file?

leotankilevich opened this issue · 3 comments

I have two macros One for button and one for spinner. If i try to import spinner macro in button macro and call button macron in view it cause this error; Is there properly way to use macro in macro?
photo_2018-12-25_14-43-16

Can you post your twig templates?

Thanks for posting in our issue tracker.
In order to properly assist you, we need additional information:

  • When does the issue occur?
  • What do you see?
  • What was the expected result?
  • Can you supply us with a stacktrace? (optional)
  • Do you have exact code to reproduce it? Maybe a PHPUnit tests that fails? (optional)

Thanks!

This is an automated comment, triggered by adding the label status:need more info.

It has been 2 or more weeks with no response on our request for more information.
In order for our issue tracker to be effective, we are closing this issue.

If you want it to be reopened again, feel free to supply us with the requested information.

Thanks!

This is an automated comment, triggered by adding the label expired.