cerebrate/templates/element/genericElements/IndexTable/Fields/icon.php

6 lines
134 B
PHP

<?php
echo sprintf(
'<i class="%s"></i>',
$this->FontAwesome->getClass($this->Hash->extract($row, $field['data_path'])[0])
);