Frage

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

War es hilfreich?

Lösung

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.

Andere Tipps

try this:

 <button type="button" class="btn btn-default" href="{{route('create_user')}}">Opprett bruker</button>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top