Bootstrap->table( [ 'small' => true, 'striped' => false, 'hover' => false, 'tableClass' => ['indexFilteringTable'], ], [ 'fields' => [ __('Field'), __('Operator'), [ 'labelHtml' => sprintf('%s %s', __('Value'), sprintf('', __('Supports strict matches and LIKE matches with the `%` character. Example: `%.com`')) ) ], __('Action') ], 'items' => [] ]); if ($taggingEnabled) { $helpText = $this->Bootstrap->genNode('sup', [ 'class' => ['ml-1 fa fa-info'], 'title' => __('Supports negation matches (with the `!` character) and LIKE matches (with the `%` character). Example: `!exportable`, `%able`'), ]); $filteringTags = $this->Bootstrap->genNode('h5', [], __('Tags') . $helpText); $filteringTags .= $this->Tag->tags([], [ 'allTags' => $allTags, 'picker' => true, 'editable' => false, ]); } else { $filteringTags = ''; } $modalBody = sprintf('%s%s', $filteringForm, $filteringTags); echo $this->Bootstrap->modal([ 'title' => __('Filtering options for {0}', Inflector::singularize($this->request->getParam('controller'))), 'size' => 'lg', 'type' => 'confirm', 'bodyHtml' => $modalBody, 'confirmText' => __('Filter'), 'confirmFunction' => 'filterIndex' ]); ?>