diff --git a/modules/consent/templates/consentform.twig b/modules/consent/templates/consentform.twig new file mode 100644 index 0000000000000000000000000000000000000000..e33dcf8a63c6839769098b9befa9b5a28c98d90b --- /dev/null +++ b/modules/consent/templates/consentform.twig @@ -0,0 +1,38 @@ +{% 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 %}