@extends('template.master') @section('title', 'About Us Management') @push('styles') @endpush @section('content')

About Us Management

@if ($message = Session::get('success'))
{{ $message }}
@endif @if (count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@if(@$about->image!=null) @endif
@php $s=0; if(@$about->testimonials!=null){ $s=sizeof(@$about->testimonials); } @endphp
Add

{{-- {{$tes=[]; $tes[]=@$about->testimonials; }} --}} @php $tes=[]; //$tes[]=@$about->testimonials; @endphp @if(@$about->testimonials!=null) @php $tes[]=@$about->testimonials; @endphp @foreach ($tes as $key=>$value) @php $i=0; @endphp @foreach($value as $t) @php $i++; @endphp @endforeach @endforeach @endif
Name Title Description Delete?
{{ $t->testimonials_name; }} {{ $t->testimonials_title; }} {{ $t->testimonials_desc; }}