@extends('admin.layouts.app') @section('title', 'Category') @section('content')

{{ __('Category') }}

@foreach($category as $c) @endforeach
Name Actions
{{$c->name}} Edit {!! Form::open(['method' => 'DELETE','route' => ['admin.category.destroy', $c->id],'style'=>'display:inline', 'onsubmit' => 'return confirm("Are you sure you want to delete this Record?")']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm text-white']) !!} {!! Form::close() !!}
@endsection @section('scripts') @endsection