@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

Event

@csrf @method('PUT')
Multi Language
@foreach ($active_languages as $key => $language) @endforeach
@if (isset($event_categories))
@if ($errors->has('event_category_id')) {{ $errors->first('event_category_id') }} @endif
@endif @if (isset($tags))
@if ($errors->has('tags')) {{ $errors->first('tags') }} @endif
@endif
@if ($errors->has('starts_at')) {{ $errors->first('starts_at') }} @endif
@if ($errors->has('ends_at')) {{ $errors->first('ends_at') }} @endif
@if ($errors->has('address_line_1')) {{ $errors->first('address_line_1') }} @endif
@if ($errors->has('address_line_2')) {{ $errors->first('address_line_2') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif @if ($event->image)
{{ $event->name }}
@else
-- No Image Selected
@endif
is_active) checked @endif class="custom-control-input" id="customSwitch1" aria-describedby="IsActiveError" aria-invalid="true">
{{-- @if ($errors->has('is_active')) {{ $errors->first('is_active') }} @endif --}}
is_featured) checked @endif class="custom-control-input" id="customSwitch2" aria-describedby="IsFeaturedError" aria-invalid="true">
{{-- @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