I'm looking to output two separate forms in a block content using render arrays. With the following requirements:

1.) Each form must be themeable

2.) The containing block must be themeable

I cannot figure out how to do this, but I'm not sure if it's possible. Any help or suggestions would be of great help. I know I can create two separate blocks and add them to a mini panel block, but I was hoping to avoid that route.

Thanks in advance.

Comments

profak’s picture

Hi!

In this case i always create block from code using block hooks and push into it my custom forms.

Need code example?