Search on columns on Items

This commit is contained in:
root 2013-02-12 20:44:26 +01:00
parent b60a06e76b
commit 856717989a
2 changed files with 72 additions and 33 deletions

View file

@ -22,7 +22,7 @@
<thead>
<?php foreach ($scaffoldFields as $_field): ?>
<?php if($_field == "id") continue; ?>
<th><?php echo $_field; ?></th>
<th><?php echo $_field; ?><br/><input class="search_init" type="text" name="<?php echo $_field; ?>" /></th>
<?php endforeach; ?>
<th><?php echo __d('cake', 'Actions'); ?></th>
</thead>
@ -61,6 +61,13 @@ foreach (${$pluralVar} as ${$singularVar}):
endforeach;
?>
<tfoot>
<?php foreach ($scaffoldFields as $_field): ?>
<?php if($_field == "id") continue; ?>
<th><?php echo $_field; ?></th>
<?php endforeach; ?>
<th><?php echo __d('cake', 'Actions'); ?></th>
</tfoot>
</table>
</div>
<div class="actions">