]> git.0d.be Git - django-panik-newsletter.git/blobdiff - newsletter/templates/newsletter/subscriber_form_content.html
remove panik text from newsletter subscribe form
[django-panik-newsletter.git] / newsletter / templates / newsletter / subscriber_form_content.html
index f920ce7e94f396601f19e4c7c467c790f0d498ca..084f9e250f43a692463b2e1e3d87a1696b5db7c9 100644 (file)
@@ -3,21 +3,22 @@
 {% csrf_token %}
 
 {% block newsletter-text %}
-  <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
 {% endblock %}
 
-<label for="email" class="sr-only">{% trans "your email address" %}</label>
-<input required name="email" id="email" type="email" placeholder="{% trans "your email address" %}">
-<div style="display: none;">
-  <label for="validation"><input type="checkbox" name="validation" id="validation"
-    >{% trans "Checking this will prevent subscribing." %}</label>
-  <label for="validation2"><input type="checkbox" name="validation2" id="validation2"
-    >{% trans "On the other hand this checkbox must be checked (sorry if you have javascript disabled)" %}</label>
-  <script>
-    (function() {
-      const checkbox = document.getElementById('validation2');
-      checkbox.checked = true;
-    })();
-  </script>
-</div>
-<button>{% trans 'Subscribe' %}</button>
+{% block newsletter-form-content %}
+  <label for="email" class="sr-only">{% trans "your email address" %}</label>
+  <input required name="email" id="email" type="email" placeholder="{% trans "your email address" %}">
+  <div style="display: none;">
+    <label for="validation"><input type="checkbox" name="validation" id="validation"
+      >{% trans "Checking this will prevent subscribing." %}</label>
+    <label for="validation2"><input type="checkbox" name="validation2" id="validation2"
+      >{% trans "On the other hand this checkbox must be checked (sorry if you have javascript disabled)" %}</label>
+    <script>
+      (function() {
+        const checkbox = document.getElementById('validation2');
+        checkbox.checked = true;
+      })();
+    </script>
+  </div>
+  <button>{% trans 'Subscribe' %}</button>
+{% endblock %}