@extends('admin.layouts.app') @section('title') Edit Category @endsection @section('css') @endsection @section('contents')
Edit Category
Back
@if(!$errors->isEmpty())
@foreach($errors->all() as $err)
{{ $err }}
@endforeach
@endif @if(Session::has('message'))
{{ Session::get('message') }}
@endif
@csrf
Name
Description
@if(isset($edit)){{ $category->description }}@else{{ old('description') }}@endif
Url Key
Submit
@endsection @section('js') @endsection