subscriber_form_content.html 624 Bytes
Newer Older
fred's avatar
fred committed
1
2
3
4
5
{% load i18n %}

{% csrf_token %}
<p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
<input required name="email" type="email" placeholder="votre adresse email">
fred's avatar
fred committed
6
<div style="display: none;">
fred's avatar
fred committed
7
8
9
10
11
12
13
14
<label><input type="checkbox" name="validation">Cocher empêchera la création.</input></label>
<label><input type="checkbox" name="validation2" id="validation2">Celle-ci doit par contre être cochée (déso les personnes sans js).</input></label>
<script>
(function() {
  const checkbox = document.getElementById('validation2');
  checkbox.checked = true;
})();
</script>
fred's avatar
fred committed
15
16
</div>
<button>{% trans 'Subscribe' %}</button>