So I\'m at work (working with sensitive data might I add for posterity\'s sake), and the powers that be decide we need to use the all powerful and least documented new tool by C
What this fix does is allow you to have custom template forms (from cakephp 3!!!!) using bootstrap. If you want to set sizes using the form helper and all of it's goodness (security and what not).
Jose Zap of Cakephp told me to try bootstrap plugins and widgets and what not, but the real way to do this should have been this:
Step 1: Create config/templatesConfig.php and add your custom form stuff.
[
'shortForm' => [
'formStart' => '
Step 2: From your controller inside the method for the correct view call this line.
Don't forget add this on the top of your controller
use Cake\Core\Configure;
$this->set('form_templates', Configure::read('Templates'));
Step 3: Add this within the bootstrap.php file
// Load an environment local configuration file.
// You can use this file to provide local overrides to your
// shared configuration.
Configure::load('templatesConfig','default'); //fixed
Step 4(finally): Add this line with the template name you want Bam!.
Form->templates($form_templates['shortForm']); ?>