zundi
zundi

Reputation: 2457

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>

As a side question, is it normal to include the glyph in the actual link, or would this normally be before or after?

Upvotes: 0

Views: 128

Answers (1)

Damith
Damith

Reputation: 114

There are few packages you can use,

Upvotes: 0

Related Questions