@extends('layouts.client-app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.gdpr.consent')
{!! Form::open(['id'=>'updateConsent','class'=>'ajax-form','method'=>'POST']) !!}

{!! $gdprSetting->consent_block !!}


@forelse($allConsents as $allConsent)

@if($allConsent->user) @lang('modules.gdpr.lastUpdate'): {{ $allConsent->user->created_at }} @endif @if($allConsent->user && $allConsent->user->status == 'agree') @else @endif

{{ $allConsent->description }}

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

@lang('modules.gdpr.consentForLead')

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