{!! Form::open([
'method'=>'DELETE',
'url' => ['admin/product', $product->id],
'style' => 'display:inline'
]) !!}
{!! Form::button('
Delete', array(
'type' => 'submit',
'class' => 'btn red btn-xs',
'title' => 'Delete Product',
'onclick'=>'return confirm("Confirm delete?")'
))!!}
{!! Form::close() !!}
ID | {{ $product->id }} |
Name | {{ $product->name }} |
Description | {{ $product->description }} |
Status | {!! $product->status == 0 ? 'Inactive' : 'Active' !!} |