Commit e188ce9e authored by Sylvain's avatar Sylvain

Modification template 3

parent 2049d426
......@@ -351,7 +351,7 @@ class Template3Bt4
if (auth()->user()->can($this->can_prefix . '-delete')) {
if (data_get($this->_menu, 'editable')) {
if (data_get($this->_menu, 'is_deletable')) {
$template = '<div class="dropdown-divider"></div>' . PHP_EOL;
$template .= '<a class="dropdown-item delete" href="#" data-href="%s">' . PHP_EOL;
$template .= ' <i class="fa fa-trash mr-1"></i>Supprimer' . PHP_EOL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment