Commit 4a66ad13 authored by fred's avatar fred

unify subscriber forms

parent 805a9a9a
......@@ -5,14 +5,7 @@
{% block main %}
<div class="padded">
<form method="post" class="big center" id="subscribe-form">
<p>
Tous les lundis, l’actualité de Radio Panik.
</p>
{% csrf_token %}
{{ 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>
{% include "newsletter/subscriber_form_content.html" %}
</form>
</div>
{% endblock %}
{% 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">
<div style="display: none"><label><input type="checkbox" name="validation">Cocher empêchera la création.</input></label>
</div>
<button>{% trans 'Subscribe' %}</button>
{% load i18n %}
<form method="post" action="{% url 'newsletter-subscribe' %}" class="marged" id="subscribe-form">
{% csrf_token %}
<p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
<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>
{% include "newsletter/subscriber_form_content.html" %}
</form>
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