@extends('admin.layouts.index') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Photo List
@foreach($alldata as $key => $photo) @endforeach
Caption Date Photo Title Caption By Photo Status Action
{{date('d-M-Y',strtotime($photo->caption_date))}} {{ $photo->title}} {{$photo->caption_by}} @if($photo->status==1) Active @else Inactive @endif User profile picture @if($photo->status==1) @else @endif
{{-- Add Color --}} @foreach($alldata as $key => $photo) @endforeach @foreach($alldata as $key => $photo) @endforeach @endsection