Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

Wrap form on modular page in a div?

Started by Anna 8 years ago · 0 replies · 610 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 Ton Haarmans, 5 years ago
13 1135 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 60 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 132 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 108 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 127 7 months ago