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

Form appears twice

Started by Nikos Giaglis 8 years ago · 2 replies · 672 views
8 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).

8 years ago

Hi @laurief

Could you post your frontmatter ?

8 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 Ton Haarmans, 5 years ago
13 1550 5 months ago
Forms & Blueprints · by Hugo Oliveira, 6 months ago
0 269 6 months ago
Forms & Blueprints · by Flachy Joe, 8 months ago
9 371 7 months ago
Forms & Blueprints · by Augustus, 8 months ago
7 369 8 months ago
Forms & Blueprints · by Julien, 8 months ago
10 400 8 months ago