Add New
{!! Form::open(['method' => 'GET', 'url' => '/%%routeGroup%%%%viewName%%', 'class' => 'form-inline my-2 my-lg-0 float-right', 'role' => 'search']) !!}
{!! Form::close() !!}
# | %%formHeadingHtml%%Actions |
@foreach($%%crudName%% as $item)
{{ $loop->iteration }} |
%%formBodyHtml%%
{!! Form::open([
'method'=>'DELETE',
'url' => ['/%%routeGroup%%%%viewName%%', $item->%%primaryKey%%],
'style' => 'display:inline'
]) !!}
{!! Form::button(' Delete', array(
'type' => 'submit',
'class' => 'btn btn-danger btn-sm',
'title' => 'Delete %%modelName%%',
'onclick'=>'return confirm("Confirm delete?")'
)) !!}
{!! Form::close() !!}
|
@endforeach