I have the following problem, I want to use a template for my appweb but I have the following query:
<li><a href="javascript:void(0)" class="waves-effect"><i class="fa fa-renren"></i> <span class="hide-menu">Ayllus </span></a> </li>
<li><a href="javascript:void(0)" class="waves-effect"><i class="fa fa-sitemap"></i> <span class="hide-menu">Comunidades </span></a> </li>
I have links of this type in my lateral navigation bar, I understand that the use of javascript: void (0) is to do nothing and only show that there is a link, but at the moment of insert the link that I need like this:
<li><a href="{{ path('admin_index') }}" class="waves-effect"><i class="fa fa-sitemap"></i> <span class="hide-menu">Prueba</span></a> </li>
I totally lose the animation of class="waves-effect"
, and only the name of the link appears coldly, neither overmouse , nor onclick or anything.
I particularly chose this template for its animation from its navigation bar.
Someone who can guide me and tell me where the error is or in what way I can add the link that I need.
I'm with symfony 2.8 , yml , twig .
I hope you can help me. Thank you very much.