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>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire