How to override form template

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


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:

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.