@extends('layouts/contentLayoutMaster') @section('title', 'السيارات') @section('vendor-style') @endsection @section('content') @if($type == 'car') أضافة سيارة جديدة @else أضافة فئة جديدة @endif @csrf @if($type == 'car') اسم نوع السيارة بالعربي * @else اسم فئة السيارة بالعربي * @endif @if ($errors->has('name_ar')) {{ $errors->first('name_ar') }} @endif @if($type == 'car') اسم نوع السيارة بالأنجليزي * @if ($errors->has('name_en')) {{ $errors->first('name_en') }} @endif @endif @if($type == 'car') الصورة* @if ($errors->has('logo')) {{ $errors->first('logo') }} @endif @endif @if($type == 'category') السيارة @foreach($rows as $row) {{$row->name_ar}} @endforeach {{__('main.parent_change_DC')}} @if ($errors->has('parent_id')) {{ $errors->first('parent_id') }} @endif @else الفئات @foreach($rows as $row) {{$row->name_ar}} @endforeach {{__('main.parent_change_DC')}} @if ($errors->has('child_id')) {{ $errors->first('child_id') }} @endif @endif مفعل @if ($errors->has('status')) {{ $errors->first('status') }} @endif اضافة {{-- Data list view end --}} @endsection @section('vendor-script') @endsection