Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to display form midway through page content #42

Closed
c9rgreen opened this issue Feb 4, 2016 · 4 comments
Closed

Ability to display form midway through page content #42

c9rgreen opened this issue Feb 4, 2016 · 4 comments

Comments

@c9rgreen
Copy link

c9rgreen commented Feb 4, 2016

Kind of like this:

Content
{{ show form here }}
More content
@flaviocopes
Copy link
Contributor

Right now this is possible through modular pages http://learn.getgrav.org/advanced/forms#using-forms-in-modular-pages

@c9rgreen
Copy link
Author

I wonder if it's possible to do: {% include "forms/form.html.twig" %} midway through the page's content, (with twig processing enabled). Last time I tried this, the form would display, but not process.

@rhukster
Copy link
Member

This will be possible with the upcoming Forms 2.0. Currently available for testing in this PR:

#85

@rhukster
Copy link
Member

rhukster commented Sep 8, 2016

Forms 2.0 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants