subscription_subscribe.html 1.0 KB

123456789101112131415161718192021222324252627
  1. {% extends "newsletter/common.html" %}
  2. {% load crispy_forms_tags %}
  3. {% load i18n %}
  4. {% block title %}{% trans "Newsletter subscribe" %}{% endblock title %}
  5. {% block body %}
  6. <h1>{% trans "Newsletter subscribe" %} {{ newsletter.title }}</h1>
  7. {% if error %}
  8. <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>
  9. {% comment %} Replace the the following dummy with a valid email address and remove this comment.
  10. <p>{% trans "If the error persists, please don't hesitate to contact us at the following email address:" %} <a href="mailto:office@realitylab.at">office@realitylab.at</a></p>
  11. {% endcomment %}
  12. {% else %}
  13. <form enctype="multipart/form-data" method="post" action=".">
  14. {% csrf_token %}
  15. {% crispy form %}
  16. <!-- <p><input id="id_submit" name="submit" value="{% trans "Subscribe" %}" type="submit" /></p> -->
  17. </form>
  18. {% endif %}
  19. {% endblock body %}