Skip to content
Snippets Groups Projects
Unverified Commit 61b58b56 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Create consentform.twig

parent ecff3989
Branches
Tags
No related merge requests found
{% set pagetitle = '{consent:consent:consent_header}'|trans %}
{% extends "base.twig" %}
{% block preload %}
<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}consent/style.css" />
{% endblock %}
{% block content %}
<p>{{ consent_accept}}</p>
{% if consent_purpose is defined %}
<p>{{ consent_purpose }}</p>
{% endif %}
<form id="consent_yes" action="{{ yesTarget|escape('url') }}">
{% if usestorage is defined %}
<input type="checkbox" name="saveconsent"{% if checked %} checked="checked"{% endif %} value="1" />
{{ '{consent:consent:remember}'|trans }}
{% endif %}
<input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" />
<button type="submit" name="yes" class="btn" id="yesbutton">{{ '{consent:consent:yes}'|trans }}</button>
</form>
<form id="consent_no" action="{{ noTarget|escape('url') }}">
<input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" />
<button type="submit" class="btn" name="no" id="nobutton">{{ '{consent:consent:no}'|trans }}</button>
</form>
{% if sppp != false %}
<p>{{ '{consent:consent:consent_privacypolicy}'|trans }}
<a target='_blank' href='{{ sppp|escape('url') }} '>{{ dstName }}</a>
</p>
{% endif %}
<h3 id="attributeheader">{{ consent_attributes_header }}</h3>
{{ attributes_html|raw }}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment