@extends('cms.layouts.main') @section('content') @include('cms.layouts.headers.partials', ['title' => 'Edit Record'])

{{ $page_info['title'] }}

@include('cms.components.alert', ['with' => 'status', 'class' => 'success'])
@csrf @method('put') {{-- Image --}} @include('cms.components.inputs.image', ['label' => 'Image', 'asterix' => true, 'name' => 'image']) {{-- Title --}} @include('cms.components.inputs.text', ['label' => 'Title', 'asterix' => true, 'name' => 'title', 'maxlength' => 255]) {{-- Text Preview --}} @include('cms.components.inputs.text', ['label' => 'Text Preview', 'asterix' => true, 'name' => 'text_preview', 'maxlength' => 255]) {{-- Text --}} @include('cms.components.inputs.textarea', ['label' => 'Text', 'asterix' => true, 'name' => 'text', 'quill' => true])
{{-- Title AR --}} @include('cms.components.inputs.text', ['label' => 'Title AR', 'asterix' => true, 'name' => 'title_ar', 'value' => $row->getTranslation('title', 'ar'), 'maxlength' => 255]) {{-- Text Preview AR --}} @include('cms.components.inputs.text', ['label' => 'Text Preview AR', 'asterix' => true, 'name' => 'text_preview_ar', 'value' => $row->getTranslation('text_preview', 'ar'), 'maxlength' => 255]) {{-- Text AR --}} @include('cms.components.inputs.textarea', ['label' => 'Text AR', 'asterix' => true, 'name' => 'text_ar', 'value' => $row->getTranslation('text', 'ar'), 'quill' => true])
{{-- Title KU --}} @include('cms.components.inputs.text', ['label' => 'Title KU', 'asterix' => true, 'name' => 'title_ku', 'value' => $row->getTranslation('title', 'ku'), 'maxlength' => 255]) {{-- Text Preview KU --}} @include('cms.components.inputs.text', ['label' => 'Text Preview KU', 'asterix' => true, 'name' => 'text_preview_ku', 'value' => $row->getTranslation('text_preview', 'ku'), 'maxlength' => 255]) {{-- Text KU --}} @include('cms.components.inputs.textarea', ['label' => 'Text KU', 'asterix' => true, 'name' => 'text_ku', 'value' => $row->getTranslation('text', 'ku'), 'quill' => true])
@include('cms.layouts.footers.auth')
@endsection