I was wondering - it would be great that after YiiStrap Gii generates all views and forms they would contain all UI controls that are in YiiWheels. I have 20 fields in table (and lots of tables in DB) and generated form consists only from 20 similar lines:
is this was done intentionally or I just miss something?..
It would be great for example that generated forms already had UI controls form YiiWheel depending of table field (date\number\checkbox…) - so it would be much easier\faster to customize them.
Ok, had to modify CodeGenerator and templates to achieve goals - now I can see nice automatically generated checkboxes (boolean fields) and datepick-fields (with Font Awesome icons). If someone interested - can upload changed files.
Ok - well, if you use Yiistrap it DOES contain bootstrapped gii - you have to change generator path in your config:
'generatorPaths' => array(
'bootstrap.gii'
),
After this you’ll see “bootstrap” link in your Gii - it will generate bootstrapped CRUD.
The problem is it generated just text-fields. I’ve added ability to generate at least date-fields and use of font-awesome in my templates - see archive with my changed files.
P/S/ there just couple of template-files (_form and admin) with changed icons - the rest you can customize by example.
To use fontawesome icons dont forget to download it and use