@extends('layouts.admin') @section('title', $post->exists ? 'Ubah berita' : 'Tulis berita') @section('content')

{{ $post->exists ? 'Ubah berita' : 'Tulis berita' }}

Kembali
@csrf @if ($post->exists) @method('PUT') @endif
@if ($post->image_path) @endif

@endsection