]> git.0d.be Git - django-panik-newsletter.git/blobdiff - newsletter/templates/newsletter/subscriber_form_content.html
misc: apply djhtml configuration
[django-panik-newsletter.git] / newsletter / templates / newsletter / subscriber_form_content.html
index dd420f6662d1da4d2435e1c628f74bb1791bb89d..f920ce7e94f396601f19e4c7c467c790f0d498ca 100644 (file)
@@ -3,21 +3,21 @@
 {% csrf_token %}
 
 {% block newsletter-text %}
-<p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
+  <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>
+  <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>