Hey, I’m just wondering if anyone has considered creating more unique id/class tags for crud views. In the work I have been doing, I’ve been modifying the base files in yii/framework/cli/views/shell/crud/. For the most part, I have been adding id tags which include the model name.
For instance in _form.php
//add id to class yiiForm
<div class="yiiForm" id="<?php echo $modelClass,'_yiiForm';?>">
//and also add id to each field
<div class="simple" id="<?php echo $modelClass,'_',$column->name,'_div';?>">
This seems like common sense to me because otherwise you end up adding these in later anyways. Any thoughts or reasons why this is left out?