summaryrefslogtreecommitdiff
path: root/design/templates/newsletter/subscription_subscribe.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/newsletter/subscription_subscribe.html')
-rw-r--r--design/templates/newsletter/subscription_subscribe.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/design/templates/newsletter/subscription_subscribe.html b/design/templates/newsletter/subscription_subscribe.html
new file mode 100644
index 0000000..a2716a1
--- /dev/null
+++ b/design/templates/newsletter/subscription_subscribe.html
@@ -0,0 +1,25 @@
+{% extends "newsletter/common.html" %}
+
+{% load i18n %}
+
+{% block title %}{% trans "Newsletter subscribe" %}{% endblock title %}
+
+{% block body %}
+ <h1>{% trans "Newsletter subscribe" %} {{ newsletter.title }}</h1>
+
+ {% if error %}
+ <p>{% trans "Due to a technical error we were not able to submit your confirmation email. This could be because your email address is invalid." %}</p>
+
+ {% comment %} Replace the the following dummy with a valid email address and remove this comment.
+
+ <p>{% trans "If the error persists, please don't hesitate to contact us at the following email address:" %} <a href="newsletter@luxagraf.net">newsletter@luxagraf.net</a></p>
+
+ {% endcomment %}
+ {% else %}
+ <form enctype="multipart/form-data" method="post" action=".">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <p><input id="id_submit" name="submit" value="{% trans "Subscribe" %}" type="submit" /></p>
+ </form>
+ {% endif %}
+{% endblock body %}