Skip to content
Snippets Groups Projects
Commit 3b2056f3 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix consent buttons

parent f8e6bac7
No related branches found
No related tags found
No related merge requests found
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
<p>{{ consent_purpose }}</p> <p>{{ consent_purpose }}</p>
{% endif %} {% endif %}
<form id="consent_yes" action="{{ yesTarget|escape('url') }}"> <form id="consent_yes" action="{{ yesTarget }}">
{% if usestorage is defined %} {% if usestorage is defined %}
<input type="checkbox" name="saveconsent"{% if checked %} checked="checked"{% endif %} value="1" /> <input type="checkbox" name="saveconsent"{% if checked %} checked="checked"{% endif %} value="1" />
{{ '{consent:consent:remember}'|trans }} {{ '{consent:consent:remember}'|trans }}
{% endif %} {% endif %}
<input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" /> <input type="hidden" name="StateId" value="{{ stateId }}" />
<button type="submit" name="yes" class="btn" id="yesbutton">{{ '{consent:consent:yes}'|trans }}</button> <button type="submit" name="yes" class="btn" id="yesbutton">{{ '{consent:consent:yes}'|trans }}</button>
</form> </form>
<form id="consent_no" action="{{ noTarget|escape('url') }}"> <form id="consent_no" action="{{ noTarget }}">
<input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" /> <input type="hidden" name="StateId" value="{{ stateId }}" />
<button type="submit" class="btn" name="no" id="nobutton">{{ '{consent:consent:no}'|trans }}</button> <button type="submit" class="btn" name="no" id="nobutton">{{ '{consent:consent:no}'|trans }}</button>
</form> </form>
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
<p>{{ noconsent_text }}</p> <p>{{ noconsent_text }}</p>
{% if resumeFrom %} {% if resumeFrom %}
<p><a href="{{ resumeFrom|escape('url') }}">{{ '{consent:consent:noconsent_return}'|trans }}</a></p> <p><a href="{{ resumeFrom }}">{{ '{consent:consent:noconsent_return}'|trans }}</a></p>
{% endif %} {% endif %}
{% if aboutService %} {% if aboutService %}
<p><a href="{{ aboutService|escape('url') }}">{{ '{consent:consent:noconsent_goto_about}'|trans }}</a></p> <p><a href="{{ aboutService }}">{{ '{consent:consent:noconsent_goto_about}'|trans }}</a></p>
{% endif %} {% endif %}
<p><a href="{{ logoutLink|escape('url') }}">{{ noconsent_abort }}</a></p> <p><a href="{{ logoutLink }}">{{ noconsent_abort }}</a></p>
{% endblock %} {% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment