Question

I am working with a twitter bootstrap bottom, but having the issue that the url shows as link in the bottom. How can I make the bottom be the link?

 <button type="button" class="btn btn-default">{{ HTML::linkRoute('create_user', 'Opprett bruker') }}   </button>

enter image description here

Was it helpful?

Solution

You probably want this

{{ HTML::linkRoute('create_user', 'Opprett bruker', array(), array('class' => 'btn btn-default')) }}

There's no need for an actual button tag in your case.

OTHER TIPS

try this:

 <button type="button" class="btn btn-default" href="{{route('create_user')}}">Opprett bruker</button>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top