{{ isset($post) ? 'Edit Post' : 'Create New Post' }}
Back
@if ($errors->any())
Whoops!
There were some problems with your input.
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf @if (isset($post)) @method('PUT') @endif
Category:
{{--
--}}
category == 'areas_of_experties') selected @endif>Our Areas of Experties
category == 'our_activities') selected @endif>Our Activities
category == 'success_story') selected @endif>Success Stories
category == 'skill_develpment') selected @endif>Skill Development
category == 'infrastructure_develpment') selected @endif> Infrastructure Development
category == 'asset_creation') selected @endif>Asset Creation
category == 'livelihood_generation') selected @endif> Livelihood Generation
Title:
Date:
Location:
Description:
{{ old('description', isset($post) ? $post->description : '') }}
Image:
@if (isset($post) && $post->image)
@endif
{{ isset($post) ? 'Update' : 'Submit' }}