@extends('layouts.admin') {{-- Customize layout sections --}} @section('subtitle', 'Post') @section('content_header_title', 'Home') @section('content_header_subtitle', 'Post') {{-- Content body: main page content --}} @section('content_body')
@method('PUT') @csrf
{{ trans('global.create') }} {{ trans('cruds.post.title_singular') }}
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif {{ trans('cruds.post.fields.title_helper') }}
{{--
@if ($errors->has('slug'))
{{ $errors->first('slug') }}
@endif {{ trans('cruds.post.fields.slug_helper') }}
--}}
@if ($errors->has('excerpt'))
{{ $errors->first('excerpt') }}
@endif {{ trans('cruds.post.fields.excerpt_helper') }}
{{ trans('global.create') }} {{ trans('cruds.post.title_singular') }}
@if ($errors->has('schedule'))
{{ $errors->first('schedule') }}
@endif {{ trans('cruds.post.fields.schedule_helper') }}
@foreach (App\Models\Post::CATEGORY_RADIO as $key => $label)
@endforeach @if ($errors->has('category'))
{{ $errors->first('category') }}
@endif {{ trans('cruds.post.fields.category_helper') }}
@foreach (App\Models\Post::STATUS_RADIO as $key => $label)
@endforeach @if ($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.post.fields.status_helper') }}
@if ($errors->has('topic'))
{{ $errors->first('topic') }}
@endif {{ trans('cruds.post.fields.topic_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if ($errors->has('tags'))
{{ $errors->first('tags') }}
@endif {{ trans('cruds.post.fields.tags_helper') }}
@endsection @push('js') @endpush