Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Form appears twice

Started by Nikos Giaglis 9 years ago · 2 replies · 909 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 Anna, 3 days ago
3 87 1 day ago
Forms & Blueprints · by TomW, 1 month ago
3 349 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 569 1 month ago
Forms & Blueprints · by FrViPofm, 2 months ago
5 589 2 months ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2586 9 months ago