@extends('layouts.master') @section('content')
@if ($page->has_create == 1) Add @endif
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @php $input_labels = $page->inputs?->where('table_view', 1)?->pluck('input_label') ?? collect([]); $input_names = $page->inputs?->where('table_view', 1)?->pluck('input_name') ?? collect([]); @endphp @foreach ($input_labels as $i_label) @endforeach {{-- --}} @if ($page->has_status == 1) @endif @if ($page->has_update == 1 || $page->has_delete == 1) @endif @foreach (($pageData ?? []) as $item) @php $data = json_decode($item->data, true); @endphp @foreach ($input_names as $i_name) @endforeach {{-- --}} @if ($page->has_status == 1) @endif @endforeach
No{{ $i_label }}Page urlStatusOperations
{{ $loop->iteration }}{{ $data[$i_name] ?? '' }} status == 1) checked @endif data-toggle="toggle"> @if ($page->has_update == 1) @endif @if ($page->has_delete == 1) @endif
@endsection @push('script') @endpush @push('style') @endpush