@extends('dashboard.index') @section('contentDashboard') @include('dashboard.page_header') @if (count($errors) > 0)
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{!! Form::model($categoryDATA, ['method' => 'PATCH','route' => ['categories.update', $categoryDATA->id],'enctype'=>'multipart/form-data']) !!}
@lang('dashboard.title_name')
@lang('dashboard.title_parent_category')
@lang('dashboard.title_choose')
@foreach ($categories_SEL as $category) @if ($category->parent_id == null)
parent_id == $category->id )? 'selected':'' }}>{{ $category->name }}
@endif @foreach ($category->childrenCategories as $childCategory) @include( 'categories.child_category', [ 'child_category' => $childCategory, 'parent_url' => $category->slug, 'before' => '-', 'selected_cat' => $categoriesForAttribute ] ) @endforeach @endforeach
@lang('dashboard.title_description'):
{!! $categoryDATA->description !!}
active == 1)? 'checked':''}} />
@lang('dashboard.title_active')
@lang('dashboard.title_display_order')
@lang('dashboard.title_slug')
@lang('dashboard.title_image')
@if($categoryDATA->cat_image != null)
@endif
@lang('dashboard.title_meta_description')
{{ $categoryDATA->meta_description }}
@lang('dashboard.title_meta_keywords')
{{ $categoryDATA->meta_keywords }}
{!! Form::close() !!}
@endsection