Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
25
templates/newsletter/subscription_unsubscribe_user.html
Normal file
25
templates/newsletter/subscription_unsubscribe_user.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{% extends "newsletter/common.html" %}
|
||||
|
||||
{% block title %}{{ _('Newsletter unsubscribe') }}{% endblock title %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{{ _('Newsletter unsubscribe') }} {{ newsletter.title }}</h1>
|
||||
|
||||
<p>Welcome, {{ request.user }}!</p>
|
||||
|
||||
{% if messages %}
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{{ _('Do you want to unsubscribe from this newsletter?') }}
|
||||
<form enctype="multipart/form-data" method="post"
|
||||
action="{{ url('newsletter_unsubscribe_confirm', newsletter.slug) }}">
|
||||
{% csrf_token %}
|
||||
<p><input id="id_submit" name="submit" value="{{ _('Unsubscribe') }}" type="submit"></p>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
{% endblock body %}
|
Loading…
Add table
Add a link
Reference in a new issue