Initial Commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@extends('Layouts.master')
|
||||
|
||||
@section('content')
|
||||
<div class="main-container pb-4">
|
||||
@include('Partials.Pages.index_top')
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>@lang('name')</th>
|
||||
<th>@lang('action')</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($data as $brand)
|
||||
<tr>
|
||||
<td class="align-middle">
|
||||
@can('brands_view')
|
||||
<a href="{{route('brands.show',['brand' => $brand])}}" class="btn btn-success">
|
||||
{{$brand->name}}
|
||||
</a>
|
||||
@else
|
||||
{{$brand->name}}
|
||||
@endcan
|
||||
</td>
|
||||
<td>
|
||||
@can('brands_edit')
|
||||
<a href="{{route('brands.edit',['brand' => $brand])}}" class="btn btn-outline-success">
|
||||
@lang('edit')
|
||||
</a>
|
||||
@endcan
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@include('Partials.Pages.display')
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('scripting')
|
||||
@endsection
|
||||
Reference in New Issue
Block a user