How would I write the following for blade?
<button type="submit" class="btn btn-warning">
<span class="glyphicon glyphicon-search"></span>
</button>
Thanks,
Chris Edwards
That HTML should just work, blade or not you shouldn't need anything else. Is it not working?
It works perfectly. The rest of the form is in blade and I was just curious of what this code would look like in blade if possible.
Hey i'm new the Laravel, i think you can do something like this,
{{ Form::button(
'<span class="glyphicon glyphicon-search"></span>',
array(
'class'=>'btn btn-warning',
'type'=>'submit'))
}}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community