@extends('layouts.app') @section('content')
Category @include('component.breadcrumb', ['items' => ['Web', 'Category', 'All Categories']])
{{--@include('template.alert.success')--}}
@foreach( $categories as $category) @endforeach
Name Status Translations Actions
{{ $category->{'name:'.fallback_locale()} }} @if ($category->status == 'public') public @else private @endif
@foreach(locales_except_fallback() as $code => $properties) @if ($category->hasTranslation($code)) @endif @endforeach @if ($category->hasUntranslatedLocale()) @endif
{{ csrf_field() }} {{ method_field('DELETE') }} @include('component.sweetalert-delete', ['button' => '.btn-delete-'.$category->id, 'form' => '.form-delete-'.$category->id, 'text' => 'This item '.$category->name.' will be permanently deleted'])
@stop @include('component.sweetalert-delete', ['selector' => '.btn-delete']) @push('script') @endpush