@extends('admin.layouts.app') @section('title', 'Content type') @section('content')

{{ $type->exists ? 'Edit type' : 'Create type' }}

@csrf @if($type->exists) @method('PUT') @endif @if($errors->any())
{{ $errors->first() }}
@endif
@endsection