mercredi 28 septembre 2016

Include Bootstrap glyphs in Laravel Collective link

I'm using Laravel Collective's link_to_route() method to create a link. I want to include a Bootstrap glyph with this link.

As it is now, it's printing the actual Html code.

Any tips on how to do this?

My current code:

<div class="col-lg-1 well">
    {!! link_to_route('companiesindex', "<span class='glyphicon glyphicon-log-in' aria-hidden='true'></span> Companies") !!}
</div>



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2dsovGE
via IFTTT

Aucun commentaire:

Enregistrer un commentaire