@extends('dashboard.index') @section('contentDashboard') @include('dashboard.page_header') @if (count($errors) > 0)
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{!! Form::open(array('route' => 'categories.store','method'=>'POST','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)
{{ $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'):
@lang('dashboard.title_active')
@lang('dashboard.title_display_order')
@lang('dashboard.title_slug')
@lang('dashboard.title_image')
@lang('dashboard.title_meta_description')
@lang('dashboard.title_meta_keywords')
{!! Form::close() !!}
@endsection