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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

How to override form template

Started by Alexander Kim 8 years ago · 2 replies · 787 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 Jerry Hunt, 4 days ago
2 76 8 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago