@extends('admin.layouts.master') @section('title') brands @endsection @section('css') @endsection @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($brands as $row) @include('admin.brands.edit') @include('admin.brands.deleted') @endforeach
name slug count view Status Action
{{ $row->name() }} {{ $row->slug }} {{ $row->count_view }}
active == '1' ? 'checked' : ''}} onchange="toggleStatus({{$row->id}}, this.checked ? '1' : '0')">
{{-- --}} {{-- --}} {{-- --}}
{{$brands->links()}}
@include('admin.brands.create') @endsection @section('js') @endsection