@extends('layouts.public-gdpr') @section('content')
@lang('modules.gdpr.consent')
{!! Form::open(['id'=>'updateConsent','class'=>'ajax-form','method'=>'POST']) !!}

{!! $gdprSetting->consent_block !!}


@forelse($allConsents as $allConsent)

@if($allConsent->lead) Last Updated: {{ $allConsent->lead->created_at }} @endif @if($allConsent->lead && $allConsent->lead->status == 'agree') @else @endif

{{ $allConsent->description }}

@if($allConsent->lead)
@else
@endif
@empty

No Consent available for this lead.

@endforelse
@if($allConsents->count() > 0)
@endif {!! Form::close() !!}
@endsection @push('footer-script') @endpush