@@ -5,7 +5,6 @@ |
||
5 | 5 | use Illuminate\Contracts\Container\Container; |
6 | 6 | use Malezha\Menu\Contracts\Element; |
7 | 7 | use Malezha\Menu\Contracts\ElementFactory; |
8 | -use Malezha\Menu\Traits\DisplayRule; |
|
9 | 8 | use Opis\Closure\SerializableClosure; |
10 | 9 | |
11 | 10 | /** |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php if ($canDisplay) :?> |
2 | -<li<?=$attributes;?>> |
|
3 | - <a href="<?=$url;?>"<?=$linkAttributes;?>><?=$title;?></a> |
|
4 | - <?=$builder->render($renderView);?> |
|
2 | +<li<?=$attributes; ?>> |
|
3 | + <a href="<?=$url; ?>"<?=$linkAttributes; ?>><?=$title; ?></a> |
|
4 | + <?=$builder->render($renderView); ?> |
|
5 | 5 | </li> |
6 | -<?php endif;?> |
|
6 | +<?php endif; ?> |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php if ($canDisplay) :?> |
2 | -<li<?=$attributes;?>><a href="<?=$url;?>"<?=$linkAttributes;?>><?=$title;?></a></li> |
|
3 | -<?php endif;?> |
|
2 | +<li<?=$attributes; ?>><a href="<?=$url; ?>"<?=$linkAttributes; ?>><?=$title; ?></a></li> |
|
3 | +<?php endif; ?> |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php if ($canDisplay) :?> |
2 | -<li<?=$attributes;?>><?=$text;?></li> |
|
3 | -<?php endif;?> |
|
2 | +<li<?=$attributes; ?>><?=$text; ?></li> |
|
3 | +<?php endif; ?> |