I want to override html markup of modular forms (make it bootstrap style), what files and where i should take a look?
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
General
@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
I mean how can i override form fields, i already did what you mentioned.
Here's the form fields: https://github.com/getgrav/grav-plugin-form/tree/develop/templates/forms/fields
Simple copying it's templates to my theme doesn't work, what's the correct way to do that? In my case i want to override html of select and text fields.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 76 | 8 hours ago | ||
| 1 | 47 | 12 hours ago | ||
| 0 | 44 | 1 day ago | ||
| 6 | 346 | 5 days ago | ||
| 3 | 40 | 5 days ago |