@extends('layouts.app') @section('content')
Category List
@foreach($categories as $sn => $category) @endforeach
S/N Name Action
{{ $sn + 1 }} {{ $category->name }}
  {!! Form::open(['method' => 'DELETE', 'url' => 'categories/' . $category->id, 'class' => 'pull-right']) !!} {!! Form::close() !!}
@endsection