@extends('layouts.template') @if(Auth::user()->role == 'admin') @section('template')

Edit Category

{{ method_field('PUT') }} {{ csrf_field() }}
@if($errors->has('cata_name')) {{ $errors->first('cata_name')}} @endif
@if($errors->has('cata_details')) {{ $errors->first('cata_details')}} @endif
@endsection @endif