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

Two forms, one is a modular form

Started by Muut Archive 10 years ago · 1 replies · 412 views
10 years ago

Hi all,

i'm currently running into a problem with two forms.

My base.html.twig includes a footer like this:
...
{% include '/partials/footer.html.twig' with {'pages': page.find('/footer')} %}
...

The /footer is a modular page that includes several other pages (links, infos etc.) AND it includes a form!

It looks like this:
/footer =>modular
/footer/_newsletter => modular/form
/footer/_links => modular/text
...

So every page includes the footer with my newsletter form.

BUT as soon as i open another page with a form on it, my footer form will be replaced with the form that comes first.

Any hint how to solve this? All forms actually work well besides this "doubel form" issue.

Help is greatly appreciate!

Greets,

Chris

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4065 9 years ago
Archive · by Muut Archive, 9 years ago
1 2953 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago