Domanda

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

È stato utile?

Soluzione

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.

Altri suggerimenti

try this:

 <button type="button" class="btn btn-default" href="{{route('create_user')}}">Opprett bruker</button>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top