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

5 lines
139 B
PHP

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