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 →

How to override form template

Started by Alexander Kim 9 years ago · 2 replies · 1236 views
9 years ago

I want to override html markup of modular forms (make it bootstrap style), what files and where i should take a look?

9 years ago

@heihachi88

juste make folder in your theme template folder like forms/ and inside form.html.twig and in you r modular twig call {% include "forms/form.html.twig" %}

You can find all explanation here

Suggested topics

Topic Participants Replies Views Activity
General · by Sergi, 2 days ago
1 73 2 days ago
General · by themetman, 5 days ago
2 95 4 days ago
General · by Hanns Mattes, 2 weeks ago
0 148 2 weeks ago
General · by Karmalakas, 2 weeks ago
2 221 2 weeks ago
General · by Hanns Mattes, 4 weeks ago
0 282 4 weeks ago