{!! Form::open([
'method'=>'DELETE',
'url' => ['/admin/categorias', $categoria->id],
'style' => 'display:inline'
]) !!}
{!! Form::button(' Remover', array(
'type' => 'submit',
'class' => 'btn btn-danger btn-xs',
'title' => 'Remover categoria',
'onclick'=>'return confirm("Tem certeza que deseja remover a categoria?")'
))!!}
{!! Form::close() !!}
| ID | {{ $categoria->id }} |
|---|---|
| Nome | {{ $categoria->nome }} |