Pregunta

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

¿Fue útil?

Solución

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.

Otros consejos

try this:

 <button type="button" class="btn btn-default" href="{{route('create_user')}}">Opprett bruker</button>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top