.index','<?php echo ucwords(str_replace('_', ' ', $field->name)); ?> ')!!} <?php } ?> <th></th> </tr> <tr class="search-row"> <form class="search-form"> <?php foreach ($fields as $field) { ?> <td><?php echo \Nvd\Crud\Db::getSearchInputStr($field); ?> </td> <?php } ?> <td style="min-width: 6em;">@include('<?php echo $gen->templatesDir(); ?> .common.search-btn')</td> </form> </tr> </thead> <tbody> @forelse ( $records as $record )