@extends('layouts.admin') @section('title', $post->exists ? __('admin.posts.edit') : __('admin.posts.create')) @php $editing = $post->exists; $action = $editing ? lroute('admin.posts.update', $post) : lroute('admin.posts.store'); $field = 'w-full rounded-lg border border-black/10 bg-white px-3 py-2 text-sm focus:border-brand focus:outline-none focus:ring-2 focus:ring-brand/20'; $label = 'mb-1 block text-sm font-semibold text-ink'; $locale = app()->getLocale(); @endphp @section('content')