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

{{ __('Brand') }}

@can('brand-create')

Create Brand

@csrf @method('POST')
@include('admin.partials.form-errors', array('field' => 'name'))
@endcan

Brands

@foreach($brands as $c) @endforeach
Name Actions
{{$c->name}} @can('brand-edit') Edit @endcan @can('brand-delete') {!! Form::open(['method' => 'DELETE','route' => ['brand.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']) !!} {!! Form::close() !!} @endcan
@endsection