Template for the unsubscribe confirmation form.

This commit is contained in:
Pēteris Caune 2018-11-09 22:17:45 +02:00
parent b3c22dcfd2
commit d064112c16
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -0,0 +1,20 @@
{% extends "base_bare.html" %}
{% block title %}Unsubscribe{% endblock %}
{% block content %}
<p>Please press the button below to unsubscribe:</p>
<br />
<form id="form" method="post">
{% csrf_token %}
<input
id="submit-btn"
type="submit"
class="btn btn-lg btn-primary"
value="Unsubscribe">
</form>
<script>
document.getElementById("form").submit();
</script>
{% endblock %}