@php $messageLimit = 100; @endphp @extends('themes.public.'.setting('active_public_theme').'.layouts.default') @section('content') @push('custom-css') @endpush
@csrf @method('PUT')
@if ($wedding->wedding_photo)
@endif

{{ $wedding->name }}

{{\Carbon\Carbon::parse($wedding->date)->format('j F Y')}}

{{$wedding->message}}

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if ($wedding->checkIfThePortalIsOpen()) Upload Your Photos @else The portal is currently closed! @endif

Upload Your Images Here
{!! dropzone('postImages', 'Wedding', $wedding->id, ''. $wedding->id, 50, 10000, fileTypes('image'), 'image', false) !!}
@if ($wedding->show_message)
Character limit has been reached
0/{{$messageLimit}}
@endif @if ($wedding->collect_emails)
{{old('email')}}
@endif
@push('custom-js') @endpush @endsection