@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@lang("constants.spec_categories")
@forelse($spec_categories as $spec_category) @empty @endforelse
Nickname @lang("constants.title") @lang("constants.is_active") Is Upgradable @lang("constants.options")
{{$spec_category->nickname}} {{$spec_category->title}} @if ($spec_category->is_active) @else @endif @if ($spec_category->is_upgradable) @else @endif {{Form::open(['route'=>["admin.spec-categories.destroy",$spec_category->id],'method'=>"delete"])}} id)}}" class="btn btn-outline btn-sm purple" title="Edit"> @lang("constants.edit") {!! Form::close() !!}
{!! $spec_categories->links()!!}
@lang("constants.spec_categories_order")
{{ Form::open(['route' => "admin.spec-categories.order",'class'=>"form-horizontal"]) }} {{ Form::hidden('reorder',"",array('id'=>'reorder')) }}
    @foreach ($items as $item)
  1. {{$item['title']}}
    @if(count($item['childs']) > 0)
      @foreach ($item['childs'] as $item2)
    1. {{$item2['title']}}
      @if(count($item2['childs']) > 0)
        @foreach($item2['childs'] as $item3)
      1. {{ $item3['title'] }}
        @if(count($item3['childs']) > 0)
          @foreach($item3['childs'] as $item4)
        1. {{ $item4['title'] }}
        2. @endforeach
        @endif
      2. @endforeach
      @endif
    2. @endforeach
    @endif
  2. @endforeach
{!! Form::close()!!}
@endsection @section("scripts") @include("admin.layouts.update_attribute") @endsection