@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')
{{-- Title --}} @include('cms.components.inputs.text', ['label' => 'Title', 'name' => 'title', 'maxlength' => 255])
{{-- Location --}} @include('cms.components.inputs.text', ['label' => 'Location', 'name' => 'location', 'maxlength' => 255])
{{-- Text --}} @include('cms.components.inputs.text', ['label' => 'Text', 'name' => 'text', 'maxlength' => 255])
{{-- Title AR --}} @include('cms.components.inputs.text', ['label' => 'Title AR', 'name' => 'title_ar', 'value' => $row->getTranslation('title', 'ar'), 'maxlength' => 255])
{{-- Location AR --}} @include('cms.components.inputs.text', ['label' => 'Location AR', 'name' => 'location_ar', 'value' => $row->getTranslation('location', 'ar'), 'maxlength' => 255])
{{-- Text AR --}} @include('cms.components.inputs.text', ['label' => 'Text AR', 'name' => 'text_ar', 'value' => $row->getTranslation('text', 'ar'), 'maxlength' => 255])
{{-- Title KU --}} @include('cms.components.inputs.text', ['label' => 'Title KU', 'name' => 'title_ku', 'value' => $row->getTranslation('title', 'ku'), 'maxlength' => 255])
{{-- Location KU --}} @include('cms.components.inputs.text', ['label' => 'Location KU', 'name' => 'location_ku', 'value' => $row->getTranslation('location', 'ku'), 'maxlength' => 255])
{{-- Text KU --}} @include('cms.components.inputs.text', ['label' => 'Text KU', 'name' => 'text_ku', 'value' => $row->getTranslation('text', 'ku'), 'maxlength' => 255])
{{-- Phone Number --}} @include('cms.components.inputs.text', ['label' => 'Phone Number', 'name' => 'phone_number', 'maxlength' => 255])
{{-- Lat --}} @include('cms.components.inputs.number', ['label' => 'Lat', 'asterix' => true, 'name' => 'lat'])
{{-- Lng --}} @include('cms.components.inputs.number', ['label' => 'Lng', 'asterix' => true, 'name' => 'lng'])
{{-- Directions --}} @include('cms.components.inputs.text', ['label' => 'Directions', 'name' => 'directions', 'maxlength' => 255]) {{-- Region --}} @include('cms.components.inputs.select-single', ['label' => 'Region', 'asterix' => true, 'name' => 'region_id', 'placeholder' => 'Please select a Region', 'rows' => $regions, 'attribute' => 'title'])
@include('cms.layouts.footers.auth')
@endsection