diff --git a/templates/cell/TablesList/display.php b/templates/cell/TablesList/display.php index 3bbed1d4..74e5ad64 100644 --- a/templates/cell/TablesList/display.php +++ b/templates/cell/TablesList/display.php @@ -1,9 +1,8 @@ $config) { - ?> -
  • Html->link($config['title'], [ - 'controller' => $config['controller'], - 'action' => $config['action'], - ]); ?>
  • - $entry['controller'], 'action' => 'index']); + echo $this->element('menu/item', ['item' => $menu, 'itemClass' => 'nav-link']); } diff --git a/templates/element/form/buttons.php b/templates/element/form/buttons.php index 42e25919..95c71ba0 100644 --- a/templates/element/form/buttons.php +++ b/templates/element/form/buttons.php @@ -1,5 +1,5 @@ -
    +
    -
    +
    Form->button( $formSubmitButtonText, ['class' => 'btn btn-primary', 'name' => '_save', 'value' => '1'] diff --git a/templates/element/index/table.php b/templates/element/index/table.php index 2184d7e8..2e6cd25c 100644 --- a/templates/element/index/table.php +++ b/templates/element/index/table.php @@ -1,5 +1,5 @@
    - +
    element('index/bulk_actions/table', compact('bulkActions', 'primaryKey', 'singularVar')); ?> diff --git a/templates/element/menu/divider.php b/templates/element/menu/divider.php index ab404d2e..e38f24f9 100644 --- a/templates/element/menu/divider.php +++ b/templates/element/menu/divider.php @@ -1 +1 @@ -
  • + diff --git a/templates/element/menu/item.php b/templates/element/menu/item.php index 8ed95776..2e5b2e67 100644 --- a/templates/element/menu/item.php +++ b/templates/element/menu/item.php @@ -1,7 +1,15 @@ +getOptions(), ['class' => 'nav-link']); +?> + +
  • + getUrl() === null) : ?> - getTitle() ?> + getTitle(); ?> - Html->link($item->getTitle(), $item->getUrl(), $item->getOptions()); ?> + Html->link($item->getTitle(), $item->getUrl(), $options); ?>
  • diff --git a/templates/element/sidebar.php b/templates/element/sidebar.php index 19da75e6..5458639a 100644 --- a/templates/element/sidebar.php +++ b/templates/element/sidebar.php @@ -9,9 +9,9 @@ } ?> -