4 lines
241 B
PHP
Executable File
4 lines
241 B
PHP
Executable File
{!! Form::open(['method' => 'DELETE', 'route' => [$url.'.destroy', $model->id], 'onSubmit' => (isset($confirm) ? 'return confirm("'.$confirm.'")' : '') ]) !!}
|
|
{!! Form::submit($label, ['class' => 'btn btn-danger']) !!}
|
|
{!! Form::close() !!}
|