@extends('layouts.layout-2')
@section('content')
{{ __('Inhalte') }} {{ __('Allgemein') }}
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
| |
{{__('Name')}} |
{{__('Slug')}} |
{{__('Inhalt')}} |
{{__('Type')}} |
|
@foreach($contents as $value)
|
|
{{ $value->name }} |
{{ $value->slug }} |
@if($value->isFile()) {!! $value->getPreviewContent() !!} @else {{ $value->getPreviewContent() }} @endif |
{{ $value->getFieldName() }} |
|
@endforeach
@endsection