Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Wrap form on modular page in a div?

Started by Anna 8 years ago · 0 replies · 849 views
8 years ago

I have a form on a modular page. My theme has no form.html.twig template, and neither does the Quark theme. It seems that the templates in the form plugin folder are being used. However, I would like to simply wrap the whole section with the form and its headline in a div. How do I do that? Can I just copy one of the form templates from the plugin, change the path of the extend reference, and put the div in there? I'm unsure about how to do this, many thanks for your help!

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by TomW, 3 days ago
3 84 2 days ago
Forms & Blueprints · by Japhy, 3 weeks ago
2 396 2 weeks ago
Forms & Blueprints · by FrViPofm, 1 month ago
5 397 1 month ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2391 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 847 9 months ago