Commit 0ce3c974 authored by fred's avatar fred
Browse files

add honeypot checkbot to newsletter subscribe form

parent 2819cf42
...@@ -41,6 +41,8 @@ ...@@ -41,6 +41,8 @@
class="marged" id="subscribe-form"> class="marged" id="subscribe-form">
<p>{% trans 'Every Monday, the news of the Panik week:' %}</p> <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
<input required name="email" type="email" placeholder="votre adresse email"> <input required name="email" type="email" placeholder="votre adresse email">
<div style="display: none"><label><input type="checkbox" name="validation">Cocher empêchera la création.</input></label>
</div>
<button>{% trans 'Subscribe' %}</button> <button>{% trans 'Subscribe' %}</button>
</form> </form>
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
{% csrf_token %} {% csrf_token %}
{{ form.as_table }} {{ form.as_table }}
<div style="display: none"><label><input type="checkbox" name="validation">Cocher empêchera la création.</input></label></div>
<button>S'abonner</button> <button>S'abonner</button>
</form> </form>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment