Works in html with <button type="submit" id="btnEditar" class="btn-info btn-mini"><i class="icon-edit icon-white"></i> EDITAR</button></td> but how i do with laravel something like this:
{{ Form::submit('EDITAR', array('class' => 'btn-info btn-mini'), array('i class' => 'icon-plus icon-white')) }}
but didnt work. How a I did?
sorry for my english
Either write it out in html or write your own form helper. I don't think there's a way to output html inside a button/link using the laravel helpers.
Form::submit()
outputs a <input type="submit">
and not a <button type="submit">
.
Just print out the HTML as you have done in your post.
Mei
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community