@extends('super_admins.layouts.master') @section('title') Edit Event @endsection @section('css') @endsection @section('content') @if ($errors->any()) @foreach ($errors->all() as $error) {{-- {{ $error }} --}} @endforeach @endif Home Events Edit Event {{-- --}} Edit Event @csrf @method('PUT') @if (isset($pricing_plans)) Select Subscription : @if (count($pricing_plans) > 0) Select Subscription @foreach ($pricing_plans as $pricing_plan) pricing_plan_id == $pricing_plan->id ? 'selected' : '' }}> {{ $pricing_plan->name }} @endforeach @else No Subscription Exists @endif @if ($errors->has('pricing_plan_id')) {{ $errors->first('pricing_plan_id') }} @endif @endif First Name @if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif Last Name @if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif User Name @if ($errors->has('user_name')) {{ $errors->first('user_name') }} @endif Description {{ $event->description }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Image @if ($event->image)     @else -No Image Selected @endif @if ($errors->has('image')) {{ $errors->first('image') }} @endif Status is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true"> Select Event To Be Active Or Not {{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}} Featured is_featured) checked @endif class="custom-control-input" id="customSwitch2" aria-describedby="IsFeaturedError" aria-invalid="true"> Select Event To Be Featured Or Not {{-- @if ($errors->has('is_featured')) {{ $errors->first('is_featured') }} @endif --}} {{-- --}} @include('super_admins.includes.image_cropper_modal') @endsection @section('scripts') @include('super_admins.includes.image_cropper_scripts') @endsection