@extends('layouts.app') @section('content')
@csrf

Add New Post

@if ($errors->has('caption')) {{ $errors->first('caption') }} @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@endsection