@extends('admin.layouts.master') @section('title', 'Add Groups to page') @section('content')

{{ __('Add Groups to page') }} {{ $page->title }}

@csrf
@if ($errors->has('group_id'))

{{ $errors->first('group_id') }}

@endif
@if ($errors->has('order_no'))

{{ $errors->first('order_no') }}

@endif
@if ($errors->has('status'))

{{ $errors->first('status') }}

@endif

{{ __('List of Groups') }} {{ $page->title }}

@forelse ($pagegroups as $id => $pagegroup) @empty @endforelse
{{ __('#') }} {{ __('Group Name') }} {{ __('Order') }} {{ __('Status') }} {{ __('Action') }}
{{ ++$id }} {{ $pagegroup->group->name ?? 'N/A' }} {{ $pagegroup->order_no }} {{ $pagegroup->status }}
No Groups available.
@endsection