@extends('admin.layouts.master') @section('title') Edit Photo @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Edit Photo Home Photos Edit Photo {{-- --}} Edit Photo @csrf @method('PUT') Name @if ($errors->has('name')) {{ $errors->first('name') }} @endif Image @if($photo->images && count($photo->images) > 0) @foreach($photo->images as $image)     @endforeach @else -No Image Selected @endif @if ($errors->has('images')) {{ $errors->first('images') }} @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Photo To Be Active Or Not @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif Update @endsection @section('scripts') @endsection