Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

How to override form template

Started by Alexander Kim 8 years ago · 2 replies · 991 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 jeremycherfas, 4 days ago
3 92 1 hour ago
General · by Old Man Umby, 2 days ago
1 60 2 days ago
General · by Sebastian, 4 days ago
1 81 4 days ago
General · by Andy Miller, 2 weeks ago
0 216 2 weeks ago
General · by ready-4-IT, 6 months ago
1 716 3 weeks ago