36 lines
1.7 KiB
Twig
36 lines
1.7 KiB
Twig
{% extends 'publicBase.html.twig' %}
|
|
|
|
{% block title %} Consent {% endblock %}
|
|
|
|
{% block body %}
|
|
|
|
{% if app.user %}
|
|
<div class="mb-3">
|
|
<div class="container mt-4">
|
|
<h2>Data Usage Consent</h2>
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<p>Dear {{ app.user.userIdentifier }},</p>
|
|
<p>We request your consent to process your personal data. By agreeing, you acknowledge that:</p>
|
|
<ul>
|
|
<li>We will store and process your personal information securely</li>
|
|
<li>Your data will only be used for the purposes specified in our privacy policy</li>
|
|
<li>You can withdraw your consent at any time</li>
|
|
</ul>
|
|
|
|
<form method="post" action="{{ path('app_consent', app.request.query.all) }}" class="mt-4">
|
|
<div class="form-check mb-3">
|
|
<input type="checkbox" class="form-check-input" id="consent" name="consent" value="1" required>
|
|
<label class="form-check-label" for="consent">
|
|
I agree to the processing of my personal data
|
|
</label>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Submit Consent</button>
|
|
<button type="submit" name="decline" value="1" class="btn btn-secondary" formnovalidate>Decline</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |