@extends('backend.layouts.master') @section('pageTitle') Events @endsection @section('extraStyle') @endsection @section('bodyCssClass') @endsection @section('pageContent') Events List Dashboard Events @if($event) Update @else Add @endif @if($event) Update @else Add @endif Event * Marks are required feild @csrf @if($event) {{ method_field('PATCH') }} @endif Title* {{ $errors->first('title') }} Event Time* {{ $errors->first('event_time') }} Cover Photo[370 X 270 min size and max 2MB] {{ $errors->first('cover_photo') }} Cover Video Embed Code {{ $errors->first('cover_video') }} Description* @if($event){{ $event->description }}@else{{ old('description') }} @endif {{ $errors->first('description') }} Tags {{ $errors->first('tags') }} Image 1[1170 X 580 min size and max 2MB] {{ $errors->first('slider_1') }} Image 2[1170 X 580 min size and max 2MB] {{ $errors->first('slider_2') }} Image 3[1170 X 580 min size and max 2MB] {{ $errors->first('slider_3') }} {{--@if (count($errors) > 0)--}} {{----}} {{----}} {{--@foreach ($errors->all() as $error)--}} {{--{{ $error }}--}} {{--@endforeach--}} {{----}} {{----}} {{--@endif--}} @endsection @section('extraScript') @endsection