@foreach($forms as $key=> $row)
{{ $row->id }} @if(in_array('name', $moduleFields)) {{ $row->name }} @endif @if(in_array('email', $moduleFields)) {{ $row->email }} @endif @if(in_array('phone', $moduleFields)) {{ $row->phone }} @endif {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->deleted_at) id) }}" data-method="put" class="icon rowAction" title="{{ __('dashboard.restore') }}">{{ __('dashboard.restore') }} {{-- id) }}" data-method="delete" class="icon rowAction" title="{{ __('dashboard.delete') }}">{{ __('dashboard.delete') }} --}} @else id) }}" class="icon" title="{{ __('general.details') }}">{{ __('dashboard.edit') }} id) }}" data-method="delete" class="icon rowAction" title="{{ __('dashboard.trash') }}">{{ __('dashboard.trash') }} @endif @endforeach @if($forms->hasPages()) {{ $forms->links('pagination::bootstrap-5') }} @endif