@extends('layouts.app') @section('content')
Page @include('component.breadcrumb', ['items' => ['Web', 'Page', 'All Pages']])
@foreach( $pages as $page) @endforeach
Title Tags Status Translations Actions
{{ $page->{'title:'.fallback_locale()} }} @foreach($page->tagArray as $tag) {{$tag}} @endforeach @if ($page->status == 'public') public @else private @endif
@foreach(locales_except_fallback() as $code => $properties) @if ($page->hasTranslation($code)) @endif @endforeach @if ($page->hasUntranslatedLocale()) @endif
{{ csrf_field() }} {{ method_field('DELETE') }} @include('component.sweetalert-delete', ['button' => '.btn-delete-'.$page->id, 'form' => '.form-delete-'.$page->id, 'text' => 'This item '.$page->name.' will be permanently deleted'])
@stop @include('component.sweetalert-delete', ['selector' => '.btn-delete']) @push('script') @endpush