@extends('layouts.guest') @section('page-title', $title) @section('sticky-navbar') @stop @section('content')
@include('partials.messages')
{!! Form::open() !!}
{!! get_option('gdpr_consent_public_page_top_block') !!}
@foreach($purposes as $purpose)

{!! $purpose['name'] !!} @if(!empty($purpose['consent_last_updated'])) {{ trans_ex('crm.consent_last_updated', local_time_format($purpose['consent_last_updated'])) }} @endif

@if($purpose['consent_given'] == '1') @else @endif
@if(!empty($purpose['opt_in_purpose_description']) && !empty($purpose['consent_given']))

{{$purpose['opt_in_purpose_description']}}

@elseif(!empty($purpose['description']) && empty($purpose['consent_given']))

{{$purpose['description']}}

@endif
@if(empty($purpose['consent_given']))
@if(empty($purpose['last_action_is_opt_out']))
@endif @else
@endif
@endforeach
{!! Form::close() !!}
@stop @section('styles') @stop @section('scripts') @stop