Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Form appears twice

Started by Nikos Giaglis 9 years ago · 2 replies · 812 views
9 years ago

Im trying to show 2 module forms in a modular.md but it shows the same (1st) form twice instead 2 different ones (the one form have a textarea field and the other a file field only).

9 years ago

Hi @laurief

Could you post your frontmatter ?

9 years ago

I had something similar, then I used this in the template to explicit use the form from the modul:

{% include "forms/form.html.twig" with { form: page.header.form } %}

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Japhy, 2 weeks ago
2 261 4 days ago
Forms & Blueprints · by FrViPofm, 4 weeks ago
5 326 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2317 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 779 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 868 10 months ago