@extends('admin.layout') @section('title','Categories') @section('css') @endsection @section('breadcrumb')
  • Home
  • /
  • List categories
@endsection @section('content') @include('admin.partials.page_header', ['title' => 'Categories', 'lead' => 'Manage markets, their section and the products they list.', 'action' => route('admin.category'), 'actionLabel' => 'Add new category'])
@if(count($categories) > 0) @foreach($categories as $c) @endforeach
Category Name Section Actions
{{ $c->name }} {{ ucfirst($c->section) }} Edit Delete
@else

There are no categories at the moment!

@endif
@endsection @section('custom_js') @endsection @section('js') @endsection