I'm currently trying to write a flexbox based custom template for forms using the bootstrap template as a base, but I'm finding it nearly impossible to do because of how fabrik is written. After exploring the bootstrap template, I came to the realization that many design aspects that are typically restricted to being in a template are instead generated elsewhere in the plugin, in places that I don't have access to modify from the custom template.
An example is elements and their labels, which is written similar to this: "<?php echo $element->label;?>". This label's tag structure and construction is not created anywhere within the template system, but is instead generated in the back end with hard coded bootstrap css classes.
My question is, why is so much of the template being generated outside of the actual template (with hard coded bootstrap classes), and how do I work around it when creating my own form templates that don't use bootstrap?
An example is elements and their labels, which is written similar to this: "<?php echo $element->label;?>". This label's tag structure and construction is not created anywhere within the template system, but is instead generated in the back end with hard coded bootstrap css classes.
My question is, why is so much of the template being generated outside of the actual template (with hard coded bootstrap classes), and how do I work around it when creating my own form templates that don't use bootstrap?