auto-decrypt/templates/_consent_form.html.j2

17 lines
676 B
Django/Jinja

{% if service.auth_methode == "Password" %}
<p>A passkey is required to decrypt the service.</p>
<form method="POST">
<input type="password" name="key" placeholder="Key"/>
<input type="submit" name="rejected" value="true">Reject</input>
<input type="submit" name="rejected" value="false">Accept</input>
</form>
{% elif service.auth_methode == "Confirmation" %}
<form method="POST">
<input type="submit" name="rejected" value="true">Reject</input>
<input type="submit" name="rejected" value="false">Accept</input>
</form>
{% else %}
<p>This request dose not require any type of consent.
Or the consent methode is not implemented for WebUi.</p>
{% endif %}