{!! Form::open([
'method'=>'DELETE',
'url' => ['admin/pages', $page->id],
'style' => 'display:inline'
]) !!}
{!! Form::button('
Delete', array(
'type' => 'submit',
'class' => 'btn btn-danger btn-sm',
'title' => 'Delete Page',
'onclick'=>'return confirm("Confirm delete?")'
))!!}
{!! Form::close() !!}
ID | {{ $page->id }} |
Title | {{ $page->title }} |
---|
Content | {{ $page->content }} |