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

How to override form template

Started by Alexander Kim 8 years ago · 2 replies · 850 views
8 years ago

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

8 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 Hanns Mattes, 3 weeks ago
1 268 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 196 3 weeks ago
General · by Jerry Hunt, 3 weeks ago
2 331 3 weeks ago
General · by pamtbaau, 3 weeks ago
1 253 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 223 3 weeks ago