@extends('cms.layouts.authorized') @section('title', 'Page') @section('headerCustom') @php if (!empty($subtype)) { $entity = nameToEntity($subtype); $title = $entity::CMS_NAME; } else $title = $type; @endphp @endsection @section('content')
@if($typeEntity::ALLOW_MULTIPLE ) {{ $subtype }} Create new {{ $subtype }} @else {{ $type }} @endif
@foreach($typeEntity::INDEX_FIELD as $field) @endforeach @foreach ($list as $item) @foreach($typeEntity::INDEX_FIELD as $field) @endforeach @endforeach
{{ keyToLabel($field) }}Action
formType($field) == 'amount') class="autonumeric" @endif>{{ $item->getValue($field, '', '') }} @if($typeEntity::ALLOW_MULTIPLE) @else @endif @if($typeEntity::ALLOW_DELETION) @endif
@endsection @section('modal') @include('cms.layouts.part.modal') @endsection