@extends('layouts.app') @section('link') @endsection @section('content')
@include('shared.messages')
@if(auth()->user()->role->role=='Super Admin' || auth()->user()->role->role=='Admin') New Tree @endif

{{$device_type->name}} Trees

List of {{$device_type->model}} trees
@if(count($trees)>0) @include('trees.recursive', ['trees' => $trees->where('parent_id',0), 'all_trees' => $trees, 'level' => 0]) @endif
Name DeviceType Actions
@endsection