This plugins goal is to help you speed up implementing a Front-End framework like Bootstrap.
This plugin does not load the required CSS or JavaScript, but merely adds the classes and markup,
Run
composer require commercial-hippie/chocolate:dev-master
or add the following into your composer.json and run composer update
.
"require" : {
"commercial-hippie/chocolate": "dev-master"
}
Load the plugin in your bootstrap file
// /src/Config/bootstrap.php
Plugin::load('Chocolate');
Make sure you loaded the required CSS/JavaScript for what you are trying to do.
Load the plugins FormHelper in your Controller:
public $helpers = [
'Form' => [
'className' => 'Chocolate.BootstrapForm'
]
];