{{-- resources/views/groups/form.blade.php --}} @extends('layouts.app') @section('css') @endsection @section('js') @endsection @push('pageTitle') {{ isset($checklistCategory) && isset($readonly) && $readonly ? __('labels.view_checklist_category') : (isset($checklistCategory) ? __('labels.edit_checklist_category') : __('labels.create_checklist_category')) }} @endpush @section('content') @include('components.common.page-header', [ 'pageTitle' => isset($checklistCategory) && isset($readonly) && $readonly ? __('labels.view_checklist_category') : (isset($checklistCategory) ? __('labels.edit_checklist_category') : __('labels.create_checklist_category')), 'actionButton' => [ 'url' => route('post-categories.index'), 'text' => __('labels.back_to_list'), ], ]) @include('components.common.flush-message') @include('components.common.validation-errors')
@csrf @if(isset($checklistCategory)) @method('PUT') @endif
{{-- Title --}}
@error('title')
{{ $message }}
@enderror
{{-- Description --}}
@error('description')
{{ $message }}
@enderror
is_active ?? true))>
@error('is_active')
{{ $message }}
@enderror
@if(!isset($readonly) || (isset($readonly) && !$readonly))
{{ __('labels.cancel') }}
@endif
@endsection