0

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?

zundi
  • 2,361
  • 1
  • 28
  • 45

1 Answers1

0

There are few packages you can use,

Damith
  • 114
  • 2
  • This basically includes bootstrap and related files. I'm not sure this answers my question. – zundi Sep 29 '16 at 00:52