Commit 805a9a9a authored by fred's avatar fred
Browse files

import subscribe templates from panikweb module

parent 43c7d892
{% extends "base.html" %}
{% block title %}Newsletter{% endblock %}
{% block main %}
<div class="padded">
<p>
Et voilà, c'est fait.
</p>
</div>
{% endblock %}
{% extends "base.html" %}
{% block title %}Newsletter{% endblock %}
{% 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>
</form>
</div>
{% endblock %}
{% 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>
</form>
{% extends "base.html" %}
{% block title %}Newsletter{% endblock %}
{% block main %}
<div class="padded">
<p>
Un courriel de confirmation vous a été envoyé; suivez l'adresse qui y
est contenue pour valider votre abonnement.
</p>
</div>
{% endblock %}
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