Laravel route in bootstrap button

Viewed 56825

I want to make a button that links to route: normindex

This blow does not seem to work.

 <button href={{ HTML::link('normindex')}} type="button" class="btn btn-default">Left</button>
 <button href="normindex" type="button" class="btn btn-default">Left</button>

This below does work but generates a link, not a button.

{{ HTML::link('normindex','Left')}}

Does anyone have any idea?

5 Answers

Use an <a> tag with bootstrap btn class:

<a class="btn btn-default" href="{{ route('normindex') }}">Left</a>

Related