diff options
author | lxf <sng@luxagraf.net> | 2021-11-06 09:42:47 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-11-06 09:42:47 -0400 |
commit | d9f51299809bfb6b3ac589b7c42016d0ef240299 (patch) | |
tree | aa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/newsletter/subscription_subscribe_user.html | |
parent | dde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff) |
moved templates to top level directory
Diffstat (limited to 'templates/newsletter/subscription_subscribe_user.html')
-rw-r--r-- | templates/newsletter/subscription_subscribe_user.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/newsletter/subscription_subscribe_user.html b/templates/newsletter/subscription_subscribe_user.html new file mode 100644 index 0000000..f0bbf3d --- /dev/null +++ b/templates/newsletter/subscription_subscribe_user.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> + +<p>Welcome, {{ user }}!</p> + +{% if messages %} +<ul> + {% for message in messages %} + <li>{{ message }}</li> + {% endfor %} +</ul> +{% else %} +{% trans "Do you want to subscribe to this newsletter?" %} +<form enctype="multipart/form-data" method="post" action="{% url "newsletter_subscribe_confirm" newsletter.slug %}"> + {% csrf_token %} + <p><input id="id_submit" name="submit" value="{% trans "Subscribe" %}" type="submit" /></p> +</form> +{% endif %} +{% endblock body %} |