@extends('layouts.app') @section('content') @include('common.alerts') @include('common.errors')
Name | Title | Type | Surface | Enabled | ||
---|---|---|---|---|---|---|
{{ $category->name }} | {{ $category->title }} | @if (isset($category_types[$category->type])) {{ $category_types[$category->type] }} @else {{ $category->type }} @endif | @if (isset($surface_types[$category->surface])) {{ $surface_types[$category->surface] }} @else {{ $category->surface }} @endif | @if ($category->enabled) Yes @else No @endif | ||
- {{ $sub_category->name }} | {{ $sub_category->title }} | @if (isset($category_types[$sub_category->type])) {{ $category_types[$sub_category->type] }} @else {{ $sub_category->type }} @endif | @if (isset($surface_types[$sub_category->surface])) {{ $surface_types[$sub_category->surface] }} @else {{ $sub_category->surface }} @endif | @if ($sub_category->enabled) Yes @else No @endif |